Carregando…
Carregando…
Carregando…Vertical or horizontal timeline with alternating content layout.
Alternating layout
$ npx kikitocn add scroll-timelineimport { ScrollTimeline } from "@/components/ui/cn/scroll-timeline/ScrollTimeline";
export function ScrollTimelineExample() {
return (
<ScrollTimeline />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
events* | ScrollTimelineEvent[] | — | Array de eventos da timeline |
orientation | 'left' | 'right' | 'alternating' | 'alternating' | Posicionamento do conteúdo |
lineColor | string | — | Cor da linha da timeline |
className | string | — | Classes CSS extras |