Fine-tune light, shadows, borders, neumorphic
Light and shadows
Borders
Neumorphic
Data

Timeline <pm-timeline>

Vertical timeline (activity feeds, order history, changelogs).

Full screen
Payment confirmed. Handed to the courier. Estimated before noon.

This component has no props to try here.

<script type="module"> import '@prismora/css'; import '@prismora/elements/icon'; import '@prismora/elements/timeline'; import { registerIcons } from '@prismora/elements/icon'; import { check, truck } from '@prismora/icons'; registerIcons([check, truck]); </script> <pm-timeline> <pm-timeline-item heading="Order placed" time="9:41" tone="success" icon="check">Payment confirmed.</pm-timeline-item> <pm-timeline-item heading="Shipped" time="14:02" tone="info"> <pm-icon slot="icon" name="truck"></pm-icon> Handed to the courier. </pm-timeline-item> <pm-timeline-item heading="Delivered" time="Tomorrow">Estimated before noon.</pm-timeline-item> </pm-timeline>

Attributes

AttributeTypeDefaultDescription
labelstring—Accessible name (and visible label where the component shows one).

Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.

Slots

SlotDescription
(default)pm-timeline-item elements.

<pm-timeline-item>

One entry in a <pm-timeline>: a heading, time and details.

Attributes

AttributeTypeDefaultDescription
iconstring—Registered icon name (see registerIcons); an icon slot overrides it.
headingstring—Title text.
timestring—Display time, e.g. "2 min ago".
datetimestring—Machine-readable time for <time datetime>.

Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.

Slots

SlotDescription
(default)Details.
iconIcon inside the dot.

Used in templates

Overview dashboardOrdersCustomer 360User profile