# Shadcn Icons

> Tabs with icons.

- Type: example, free and open source (MIT)
- Component: [Tabs](https://reui.io/components/tabs.md)
- Page: https://reui.io/components/tabs/c-tabs-5
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/tabs.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/tabs.md
- MCP: `get_example("c-tabs-5")`
- Registry item: https://reui.io/r/styles/base-nova/c-tabs-5.json
- Uses: Button, Card, Input, Label, Tabs

## Best for

User, lock and gear icons ahead of each label on a muted track sized to its content, over 3 form cards

## Agent notes

- No form element wraps the `Input` fields and the 3 footer `Button` actions have no handler, so nothing is saved yet

## When not to use

- Icon triggers over panels you fill yourself, with no form inside: use [Full Width Icons](https://reui.io/components/tabs/c-tabs-6.md) (`get_example("c-tabs-6")`)

## Install

```bash
npx shadcn@latest add @reui/c-tabs-5
```

## About Shadcn Tabs

### When to use

- Account, password and settings forms split into panels so only one shows at a time
- Side navigation inside a page, with sections stacked in a column beside the open panel
- Views of one surface, such as dashboard sections, mail folders or visitor stats by period

### When not to use

- A finished account settings page with workspace, team and billing sections built in: use the [Profile blocks](https://reui.io/blocks/application/profile.md)
- A metric card whose period switch redraws a plotted trend: use the [Line Chart blocks](https://reui.io/blocks/chart/line-chart.md)
- A project header with a breadcrumb on top and a row of sections with avatars below: use the [Navbar blocks](https://reui.io/blocks/application/navbar.md)

### Agent notes

- Only the active `TabsContent` renders in either twin, so other panels ship no server HTML and lose typed values on a switch
- Arrow keys only move focus across `TabsTrigger` items on the base twin, where Enter or Space selects; radix selects on focus

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