TimelineItem
ready
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 | Default | Description |
|---|---|---|
condensed | BooleanReduce 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 | Default | Description |
|---|---|---|
kwargs | HashThe same arguments as |
badge
Badge that will be connected to other TimelineItems.
| Name | Default | Description |
|---|---|---|
icon | StringName of Octicons to use. | |
system_arguments | Hash |
body
Body to be rendered to the left of the Badge.
| Name | Default | Description |
|---|---|---|
system_arguments | Hash |
TimelineItem::Badge
This component is part of Primer::Beta::TimelineItem and should not be
used as a standalone component.