# Recent Investments block

> Recent Investments Card with Searchable Gain-Loss Table and Company Logos

Investments card: header with ⌘K search input, fixed table of company logo, name, date, sector, and green or red value change. ReUI Frame, FramePanel; shadcn Table, InputGroup, Item, Kbd.

- Type: Pro block
- Category: [List](https://web.dev.reui.io/blocks/application/list.md)
- Page: https://web.dev.reui.io/blocks/application/list/list-10
- MCP: `get_block("list-10")`
- Built with: Frame, Input Group, Item, Kbd, Table
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A fixed layout investments table with the date under each company name and a signed green or red value change

## Agent notes

- Replace `investments` in the data module; `valueChange` is a preformatted string and `tone` alone picks the green or red text
- `SearchControl` is an uncontrolled `InputGroupInput` that filters nothing, and its `Kbd` hint binds no shortcut
- Each `logo` pairs with `logoBgClassName`, a solid tile color, so change both together when swapping a company

## When not to use

- Company rows that each need a status badge and an up or down arrow beside the value: use [Top Movers](https://web.dev.reui.io/blocks/application/list/list-11.md) (`get_block("list-11")`)

## Install

```bash
npx shadcn@latest add @reui/list-10
```

## About List blocks

### When to use

- A dashboard side panel of KPIs, funds, coins, investments or movers with a figure on every row
- A short wallet or crypto transaction history with a signed credit or debit amount on each row
- An integrations directory or picker with a connect or add button on every row

### When not to use

- Records or metrics laid out as separate tiles in a grid, one tile per record: use the [Card blocks](https://web.dev.reui.io/blocks/application/card.md)
- A single row layout of media, title and actions to compose a list of your own: use [Item](https://web.dev.reui.io/components/item.md) (`get_component("item")`)
- Headline metrics that each need an actions menu, a progress bar or a segmented gauge: use the [Stats blocks](https://web.dev.reui.io/blocks/application/stats.md)

### Agent notes

- Each page.tsx centers the block in a padded `min-h-svh` wrapper; drop it when the list goes into your own dashboard layout
- Every root component takes no props and renders constants from its `data` module; add props to pass in your own rows
- Every `FramePanel` pins its padding with an important utility, so changing the Frame `spacing` prop leaves those insets as they are

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
