# Announcement Icon 1 - With icon

> AnnouncementTitle with a lucide icon inline before the message text.

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

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

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/announcement-announcement-icon-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/announcement.json`

## Files

### `example/announcement/announcement-icon-1.tsx`

```tsx
import { Sparkles } from "lucide-react";

import {
  Announcement,
  AnnouncementTitle,
} from "@/components/kibo-ui/announcement";

export const title = "With icon";

const Example = () => (
  <div className="w-full max-w-md">
    <Announcement>
      <AnnouncementTitle>
        <Sparkles className="size-3.5 shrink-0" />
        AI-powered search is live
      </AnnouncementTitle>
    </Announcement>
  </div>
);

export default Example;
```
