Carregando…
Carregando…
Carregando…Full-width dismissible notification bar for system announcements.
Demo coming soon
Add a demo component to DEMOS in _showcase.tsx for feedback/notice-bar
$ npx kikitocn add notice-barimport { NoticeBar } from "@/components/ui/cn/notice-bar/NoticeBar";
export function NoticeBarExample() {
return (
<NoticeBar />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
children* | React.ReactNode | — | Conteúdo da barra |
intent | 'info' | 'success' | 'warning' | 'danger' | 'neutral' | 'info' | Cor do intent |
dismissible | boolean | true | Mostrar botão de fechar |
icon | React.ReactNode | — | Ícone opcional |
action | { label: string; onClick: () => void } | — | Botão de ação |
className | string | — | Classes CSS extras |