# Basic

> Icon, message, and a subtle bordered surface.

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

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

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/banner-01.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/patterns/banner/banner-01.tsx`

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

export function Banner01() {
  return (
    <div className="flex w-full items-center gap-3 rounded-lg border bg-card px-4 py-3 text-sm shadow-sm">
      <span className="bg-primary/10 text-primary flex size-8 shrink-0 items-center justify-center rounded-full">
        <Info className="size-4" />
      </span>
      <p className="text-muted-foreground">
        <span className="text-foreground font-medium">Heads up.</span> A new
        version of the dashboard is now available.
      </p>
    </div>
  )
}
```
