Carregando…
Carregando…
Carregando…Inline label with intent colors, appearance variants and removable option.
Demo coming soon
Add a demo component to DEMOS in _showcase.tsx for display/tag
$ npx kikitocn add tagimport { Tag } from "@/components/ui/cn/tag/Tag";
export function TagExample() {
return (
<Tag />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
children* | React.ReactNode | — | Texto ou conteúdo da tag |
intent | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral' | 'neutral' | Cor do intent |
appearance | 'soft' | 'solid' | 'outline' | 'soft' | Estilo visual |
size | 'sm' | 'md' | 'lg' | 'md' | Tamanho |
icon | React.ReactNode | — | Ícone à esquerda |
removable | boolean | false | Exibir botão de remover |
onRemove | () => void | — | Callback ao remover |
onClick | () => void | — | Torna a tag clicável |
className | string | — | Classes CSS extras |