TimelineItem
readyNot reviewed for a11y
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.
Description
Use TimelineItem
to display items on a vertical timeline, connected by badge elements.
Arguments
Name | Required | Description |
---|---|---|
condensed | Boolean Reduce the vertical padding and remove the background from the badge item. Most commonly used in commits. | |
system_arguments | Hash |
Slots
avatar
Avatar to be rendered to the left of the Badge.
Name | Required | Description |
---|---|---|
kwargs | Hash The same arguments as |
badge
Badge that will be connected to other TimelineItems.
Name | Required | Description |
---|---|---|
icon | String Name of Octicons to use. | |
system_arguments | Hash |
body
Body to be rendered to the left of the Badge.
Name | Required | Description |
---|---|---|
system_arguments | Hash |
TimelineItem::Badge
This component is part of Primer::Beta::TimelineItem
and should not be
used as a standalone component.