Carregando…
Carregando…
Carregando…Inline conversation marker — status line, bordered note or centered separator.
default · border · separator
$ npx kikitocn add marker@/lib/utils@radix-ui/react-slotimport { Marker } from "@/components/ui/cn/marker/Marker";
export function MarkerExample() {
return (
<Marker variant="default">
Marker
</Marker>
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
variant | 'default' | 'border' | 'separator' | 'default' | Estilo visual |
asChild | boolean | false | Renderiza como o filho (via Slot) em vez de <div> |
children* | React.ReactNode | — | Conteúdo (texto/ícone) |
className | string | — | Classes CSS extras |
style | React.CSSProperties | — | Estilos inline extras |