Learn about the Divider component for use in UI extensions.
Divider
component renders a grey, horizontal line for spacing out components vertically or creating sections in an extension. Use this component to space out other components when the content needs more separation than white space.
Prop | Type | Description |
---|---|---|
distance | 'flush' | 'extra-small' | 'small' (default) | 'medium' | 'large' | 'extra-large' | The space between the divider and the content above and below it. |
distance
prop, you can set the amount of padding above and below the divider. Values range from 'extra-small'
to 'extra-large'
('small'
by default).