Carregando…
Carregando…
Carregando…Vertical sidebar navigation with icon support and active item highlighting.
Demo coming soon
Add a demo component to DEMOS in _showcase.tsx for layout/vertical-nav
$ npx kikitocn add vertical-navimport { VerticalNav } from "@/components/ui/cn/vertical-nav/VerticalNav";
export function VerticalNavExample() {
return (
<VerticalNav />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
items* | NavItem[] | — | Itens { id, label, icon?, badge? } |
activeId | string | — | ID do item ativo |
onSelect | (id: string) => void | — | Callback ao selecionar item |
className | string | — | Classes CSS extras |