# Dashboard 1

> dashboard

A shadcn/ui block from the [@cnippet-blocks](https://blocks.cnippet.dev/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet-blocks/dashboard-1).

- Page, with a live preview: https://shadcn.exchange/r/cnippet-blocks/dashboard-1
- Screenshot: https://shadcn.exchange/shot/cnippet-blocks/dashboard-1/light.png
- Registry item: https://blocks.cnippet.dev/r/dashboard-1.json
- Categories: dashboard
- Listed: 2026-11-01, source last changed 2026-11-01

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/cnippet-blocks/dashboard-1.json
```

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

## Files

### `registry/default/sections/dashboard-1/page.tsx`

```tsx
import Hero from "./components/hero";
import Navbar from "./components/navbar";

export default function page() {
  return (
    <>
      <Navbar />
      <Hero />
    </>
  );
}
```

### `registry/default/sections/dashboard-1/components/hero.tsx`

```tsx
const Hero = () => {
  return <div>Hero</div>;
};

export default Hero;
```

### `registry/default/sections/dashboard-1/components/navbar.tsx`

```tsx
const Navbar = () => {
  return <div>Navbar</div>;
};

export default Navbar;
```
