Announcement
An announcement component that highlights key info with icons, effects, and expandable content.
Installation
npx shadcn@latest add https://scrollxui.dev/registry/announcement.json Usage
import {
Announcement,
AnnouncementTag,
AnnouncementTitle,
} from '@/components/ui/announcement'; <Announcement movingBorder>
<AnnouncementTag lustre>Latest update</AnnouncementTag>
<AnnouncementTitle>
New feature added
<ArrowUpRightIcon className="shrink-0 text-muted-foreground" size={16} />
</AnnouncementTitle>
</Announcement>Examples
Default
Themes
Styled
Expandable
API Reference
Announcement
An announcement component that highlights key info with icons, effects, and expandable content.