Komponenty
Kostra
Zástupný tvar, který se zobrazí během načítání obsahu.
Použití
Základní
HTML
<bs:bsui-stack direction="column" gap="2" align="center">
<bs:bsui-skeleton width="260px" height="16px" rounded="true" />
<bs:bsui-skeleton width="200px" height="16px" rounded="true" />
<bs:bsui-skeleton width="140px" height="16px" rounded="true" />
</bs:bsui-stack>Zástupný text komentáře
Kruh vedle dvou řádků vymezuje podobu profilového obrázku a jeho textu.
HTML
<bs:bsui-stack direction="row" gap="3" align="center">
<bs:bsui-skeleton width="2.5rem" height="2.5rem" rounded="true" />
<bs:bsui-stack direction="column" gap="2">
<bs:bsui-skeleton width="12rem" height="0.875rem" />
<bs:bsui-skeleton width="8rem" height="0.875rem" />
</bs:bsui-stack>
</bs:bsui-stack>Zástupný obsah karty
Šířky v procentech umožňují zástupnému obsahu přizpůsobit se sloupci, do kterého se načítá.
HTML
<bs:bsui-stack direction="column" gap="3">
<bs:bsui-skeleton width="100%" height="8rem" />
<bs:bsui-skeleton width="60%" height="1.25rem" />
<bs:bsui-skeleton width="100%" height="0.875rem" />
<bs:bsui-skeleton width="80%" height="0.875rem" />
</bs:bsui-stack>Atributy
| Atribut | Typ | Výchozí |
|---|---|---|
width | text | — |
height | text | 1rem |
rounded | toggle | false |