# Shadcn Automations

> No automations empty state with toggle illustration

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

## Best for

A switch drawn in SVG between branching connector lines, above one Create new automation button

## Agent notes

- `markerEnd` points at an `arrowhead` id the SVG never defines; drop it, or a marker with that id elsewhere on the page gets drawn

## When not to use

- A screen for connecting outside tools, with a second button to read more: use [Connected Nodes](https://reui.io/components/empty/c-empty-19.md) (`get_example("c-empty-19")`)

## Install

```bash
npx shadcn@latest add @reui/c-empty-13
```

## About Shadcn Empty

### When to use

- First run screens and card sections that add the first record, invite a team or connect a data source
- Search with no matches, a not found page with a search field, or a prompt shown before the first search
- Caught up notices with nothing left to act on, such as inbox zero or no new notifications

### When not to use

- A complete first run page with finished copy, artwork and actions, ready to drop in: use the [Empty State blocks](https://reui.io/blocks/application/empty-state.md)
- A screen shown while a fetch is still running and no result is known yet: use [Spinner](https://reui.io/components/spinner.md) (`get_component("spinner")`)
- A square container for one glyph in a list row, feature card or settings item: use [Icon Tile](https://reui.io/components/icon-tile.md) (`get_component("icon-tile")`)

### Agent notes

- Adding `border` to `Empty` draws a dashed outline, since every style sets a dashed border style on it; add border-solid for a solid line
- `EmptyMedia` with `variant` icon puts the glyph in a small muted tile; the default variant has no fill, so drawings go there
- `Empty` takes `flex-1` and centers its children, so in a flex column with a set height it fills the free space

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.
