# Header and footer

> Status badge above the title and a metadata row below the description.

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

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

## Install

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

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

## Dependencies

- Registry items: `item`, `badge`

## Files

### `registry/patterns/item/item-09.tsx`

```tsx
import { Badge } from '@/components/ui/badge'
import {
  Item,
  ItemContent,
  ItemDescription,
  ItemFooter,
  ItemHeader,
  ItemTitle,
} from '@/components/ui/item'

export function Item09() {
  return (
    <Item variant="outline" className="w-full max-w-md">
      <ItemHeader>
        <Badge variant="secondary">Draft</Badge>
        <span className="text-muted-foreground text-xs">#PR-482</span>
      </ItemHeader>
      <ItemContent>
        <ItemTitle>Refactor billing module</ItemTitle>
        <ItemDescription>
          Splits subscriptions and one-off charges into separate services.
        </ItemDescription>
      </ItemContent>
      <ItemFooter>
        <span className="text-muted-foreground text-xs">Updated 2h ago</span>
        <span className="text-muted-foreground text-xs">3 reviewers</span>
      </ItemFooter>
    </Item>
  )
}
```
