# Banner Standard 1 - Dismissible announcement

> Banner with icon, title, action, and close control.

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

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

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/banner-banner-standard-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: `https://www.kibo-ui.com/r/banner.json`

## Files

### `example/banner/banner-standard-1.tsx`

```tsx
"use client";

import { CircleAlert } from "lucide-react";

import {
  Banner,
  BannerAction,
  BannerClose,
  BannerIcon,
  BannerTitle,
} from "@/components/kibo-ui/banner";

export const title = "Dismissible announcement";

const Example = () => (
  <Banner className="w-full max-w-2xl">
    <BannerIcon icon={CircleAlert} />
    <BannerTitle>Scheduled maintenance starts tonight at 11pm UTC.</BannerTitle>
    <BannerAction>View status</BannerAction>
    <BannerClose />
  </Banner>
);

export default Example;
```
