Ugrás a tartalomhoz

Komponensek

Elválasztó

Tartalmat vagy vezérlőcsoportokat elválasztó vonal.

Használat

Alap

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>

Függőleges elválasztó

A széthúzott sor adja meg az elválasztó magasságát, ami jól illik a szerzői sorhoz.

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>

Kártyán belüli sorok

Beállítások csoportosítása anélkül, hogy mindegyikhez címsor tartozna.

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>

Attribútumok

AttribútumTípusAlapértelmezett
orientation horizontal vertical horizontal