Skip to main content
Version: Next

Timeline API

import { Timeline } from '@editora/ui-react';

Props​

PropTypeDescription
headlessboolean
itemsTimelineItem[]
variant'default' | 'contrast'

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-timeline>​

Timeline renders the ui-timeline custom element from @editora/ui-core, which can also be used without React.

Attributes: headless, items, variant