Catalogue element

bry-tabs

Views of one thing, one at a time: `tabs` names them and the n-th child is the n-th tab's panel; choosing one raises `change` with its id.

Settings

SettingTakesNeeded
tabsa list of at most 12: a record of id, label, disabled (needs id, label)yes
valuetext, at most 128 charactersno
labeltext, at most 200 charactersno
variantsegmented, lineno

Example

JSX

<bry-tabs label={"Issue"} tabs={[{"id":"details","label":"Details"},{"id":"activity","label":"Activity"}]} value={"details"}>
  <bry-text text={"Saving twice loses the second edit."} />
  <bry-text text={"Ada opened this."} tone={"muted"} />
</bry-tabs>

Renderer contact sheet

These paths will hold the checked light and dark captures.

Light
bry-tabs light renderer capture
Dark
bry-tabs dark renderer capture