Ein Divider ist eine visuelle Trennungslinie, die Inhalte oder Abschnitte innerhalb einer Seite oder eines Inhaltsblocks voneinander abgrenzt.
The sbb-divider
is used to visually divide sections.
Based on the orientation
property, the sbb-divider
can be displayed vertically or horizontally.
It's also possible to display the component in negative
variant using the self-named property.
<sbb-divider orientation="vertical"></sbb-divider>
<sbb-divider negative></sbb-divider>
Name | Attribute | Privacy | Type | Default | Description |
---|---|---|---|---|---|
negative |
negative |
public | boolean |
false |
Negative coloring variant flag. |
orientation |
orientation |
public | SbbOrientation |
'horizontal' |
Orientation property with possible values 'horizontal' | 'vertical'. Defaults to horizontal. |