Announcement
An announcement component that highlights key info with icons, effects, and expandable content.
Loading...
Installation
npx shadcn@latest add @scrollxui/announcement 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
Loading...
Themes
Loading...
Styled
Loading...
Expandable
Loading...
API Reference
Announcement
An announcement component that highlights key info with icons, effects, and expandable content.