Komponenter
Skillelinje
En linje, der adskiller indhold eller grupper af kontroller.
Brug
Grundlæggende
Above the line
Below the line
HTML
<bs:bsui-stack direction="column" gap="3">
<bs:bsui-text content="Above the line" />
<bs:bsui-separator orientation="horizontal" />
<bs:bsui-text content="Below the line" />
</bs:bsui-stack>Lodret streg
En udstrakt række giver stregen sin højde, hvilket passer til en byline.
14 March 2026
Dennis Kastrup
6 minute read
HTML
<bs:bsui-stack direction="row" gap="2" align="stretch" justify="center">
<bs:bsui-text content="14 March 2026" variant="muted" tag="span" />
<bs:bsui-separator orientation="vertical" />
<bs:bsui-text content="Dennis Kastrup" variant="muted" tag="span" />
<bs:bsui-separator orientation="vertical" />
<bs:bsui-text content="6 minute read" variant="muted" tag="span" />
</bs:bsui-stack>Rækker i et kort
Opdeling af indstillinger i grupper uden en overskrift til hver.
Notifications
Choose what lands in your inbox.
HTML
<bs:bsui-card>
<bs:bsui-card-header>
<bs:bsui-card-title label="Notifications" />
<bs:bsui-card-description label="Choose what lands in your inbox." />
</bs:bsui-card-header>
<bs:bsui-card-content>
<bs:bsui-switch label="A deploy finished" defaultChecked="true" />
<bs:bsui-separator />
<bs:bsui-switch label="A build failed" defaultChecked="true" />
<bs:bsui-separator />
<bs:bsui-switch label="Weekly usage summary" />
</bs:bsui-card-content>
</bs:bsui-card>Attributter
| Attribut | Type | Standard |
|---|---|---|
orientation | horizontal |