# With actions

> First-run state with primary and secondary CTAs.

A shadcn/ui block from the [@flx](https://ui.flexnative.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/flx/empty-02).

- Page, with a live preview: https://shadcn.exchange/r/flx/empty-02
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/flx/empty-02-light-287145577f9ea868.png
- Registry item: https://ui.flexnative.com/r/empty-02.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/empty-02.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `lucide-react`
- Registry items: `empty`, `button`

## Files

### `registry/patterns/empty/empty-02.tsx`

```tsx
import { PlusIcon, RocketIcon } from 'lucide-react'

import { Button } from '@/components/ui/button'
import {
  Empty,
  EmptyContent,
  EmptyDescription,
  EmptyHeader,
  EmptyMedia,
  EmptyTitle,
} from '@/components/ui/empty'

export function Empty02() {
  return (
    <Empty className="w-full max-w-md">
      <EmptyHeader>
        <EmptyMedia variant="icon">
          <RocketIcon />
        </EmptyMedia>
        <EmptyTitle>Start your first project</EmptyTitle>
        <EmptyDescription>
          Create a project to organize your work and invite your team.
        </EmptyDescription>
      </EmptyHeader>
      <EmptyContent className="flex-row justify-center gap-2">
        <Button>
          <PlusIcon data-icon="inline-start" />
          New project
        </Button>
        <Button variant="outline">Import existing</Button>
      </EmptyContent>
    </Empty>
  )
}
```
