Timeline
The timeline displays a list of events in chronological order.
Import
js
import { MpTimeline, MpTimelineItem, MpTimelineTitle, MpTimelineCaption, MpTimelineContent, MpTimelineDocument, MpTimelineLog, MpTimelineLogItem, MpTimelineAccordion } from '@mekari/pixel3'
Playground
API
MpTimeline
Slots
Name | Type |
---|---|
default | any |
MpTimelineAccordion
Props
Slots
Name | Type | Default |
---|---|---|
is-open | boolean | false |
label | string | - |
MpTimelineItem
Props
Slots
Name | Type | Default |
---|---|---|
status | "approved" | "canceled" | "need-approval" | "rejected" | "created" | created |
icon | IconName | created |
icon-variant | "outline" | "duotone" | "fill" | - |
icon-color | ColorToken | string | - |
MpTimelineTitle
Slots
Name | Type |
---|---|
default | any |
MpTimelineCaption
Slots
Name | Type |
---|---|
default | any |
MpTimelineContent
Slots
Name | Type |
---|---|
default | any |
MpTimelineDocument
Props
Slots
Name | Type | Default |
---|---|---|
title | string | - |
file-size | string | - |
icon | string | - |
icon-variant | "outline" | "duotone" | "fill" | - |
MpTimelineLog
Props
Slots
Name | Type | Default |
---|---|---|
is-open | boolean | false |
MpTimelineLogItem
Slots
Name | Type |
---|---|
default | any |