# Empty state 01

> Metric empty-state card showing zero API requests with dashed placeholder and helper text.

A shadcn/ui block from the [@shadcn-studio](https://shadcnstudio.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcn-studio/empty-state-01).

- Page, with a live preview: https://shadcn.exchange/r/shadcn-studio/empty-state-01
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcn-studio/empty-state-01-light-597c93de4b7cb4b1.png
- Registry item: https://shadcnstudio.com/r/new-york-v4/empty-state-01.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnstudio.com/r/new-york-v4/empty-state-01.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: `card`

## Files

### `src/registry/new-york/blocks/dashboard-and-application/empty-state/empty-state-01/page.tsx`

```tsx
import EmptyState from '@/registry/new-york/components/blocks/empty-state-01/empty-state-01'

const EmptyStatePage = () => {
  return (
    <div className='py-8 sm:py-16 lg:py-24'>
      <div className='mx-auto max-w-7xl px-4 sm:px-6 lg:px-8'>
        <div className='flex justify-center'>
          <EmptyState />
        </div>
      </div>
    </div>
  )
}

export default EmptyStatePage
```

### `src/registry/new-york/components/blocks/empty-state-01/empty-state-01.tsx`

```tsx
import { ChartNoAxesColumnIncreasingIcon } from 'lucide-react'

import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/registry/new-york/ui/card'

function EmptyState() {
  return (
    <Card className='w-full max-w-lg'>
      <CardHeader className='gap-0'>
        <CardDescription>Total API requests.</CardDescription>
        <CardTitle className='text-3xl'>0</CardTitle>
      </CardHeader>
      <CardContent>
        <div className='rounded-md border border-dashed p-6 text-center'>
          <ChartNoAxesColumnIncreasingIcon className='text-muted-foreground mx-auto size-12' />
          <p className='mt-2 text-sm font-medium'>No data to show</p>
          <p className='text-muted-foreground mt-1 text-sm'>May take 24 hours for data to load</p>
        </div>
      </CardContent>
    </Card>
  )
}

export default EmptyState
```
