# Item Layout 1 - Sizes

> Item Sizes.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/item-item-layout-1).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/item-item-layout-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/item-item-layout-1-light-c1802ec6d141c03f.png
- Registry item: https://shadcnblocks.com/r/item-item-layout-1.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/item-item-layout-1.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: `button`, `item`

## Files

### `example/item/item-layout-1.tsx`

```tsx
import { BadgeCheckIcon, ChevronRightIcon } from "lucide-react";

import { Button } from "@/components/ui/button";
import {
  Item,
  ItemActions,
  ItemContent,
  ItemDescription,
  ItemMedia,
  ItemTitle,
} from "@/components/ui/item";

export const title = "Item Sizes";

const Example = () => (
  <div className="flex w-full max-w-md flex-col gap-6">
    <Item className="bg-background" variant="outline">
      <ItemContent>
        <ItemTitle>Default Size Item</ItemTitle>
        <ItemDescription>
          A simple item with title and description.
        </ItemDescription>
      </ItemContent>
      <ItemActions>
        <Button size="sm" variant="outline">
          Action
        </Button>
      </ItemActions>
    </Item>
    <Item asChild className="bg-background" size="sm" variant="outline">
      <a href="#">
        <ItemMedia>
          <BadgeCheckIcon className="size-5" />
        </ItemMedia>
        <ItemContent>
          <ItemTitle>Small Size Item</ItemTitle>
        </ItemContent>
        <ItemActions>
          <ChevronRightIcon className="size-4" />
        </ItemActions>
      </a>
    </Item>
  </div>
);

export default Example;
```
