UnreviewedOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptional UnreviewedkeyReact/Preact reconciliation key when rendered inside a list.
Optional UnreviewedidHTML id attribute.
Optional UnreviewedclassHTML class attribute (standard DOM).
Optional UnreviewedclassReact/Preact-style class name. Alias for class.
Optional UnreviewedstyleInline styles applied to the element.
OptionalchildrenOptional UnreviewedslotAssigns the element to a named <slot> (e.g. slot="title").
Optional UnreviewedtabTab order. Set to 0 to make the element keyboard-focusable.
Optional UnreviewedvalueThis tab's identity / the value reported when it's selected.
Optional UnreviewedtonePer-tab tone override (same vocabulary as <a-tabs tone>): colors this tab's
label + icons and, when selected, its indicator. Named tones tone the sliding
indicator too; a custom literal color tones the indicator only in noslide.
Custom tones also set --tabs-tone-source on the tab (via the wrapper's style).
Optional UnreviewedselectedSelected state — connect-time seed for the standalone render path (no tablist).
In an <a-tabs>, the tablist drives :state(selected) directly and this
attribute is ignored. Presence-based ('' on, omit off).
Optional UnrevieweddisabledDisabled state. Presence-based ('' on, omit off).
Optional UnreviewedroundFully-round this tab's box (--tab-radius: 999px). <a-tabs round> sets it
strip-wide instead. Presence-based ('' on, omit off) — no custom value.
Optional UnreviewedroleARIA — role="tab" is set by the consumer (Tabs on each tab, or a hand-author),
and aria-controls points at the paired panel. aria-selected is published by
the element through ElementInternals (off the DOM), driven by the selected
property the tablist sets — not a DOM attribute. tabindex (inherited from
BaseAttributes) is set by Tabs — every enabled tab is its own tab stop
(tabindex="0") — not by the element.
Optionalaria-Optionalaria-
Attributes for the
<a-tab>custom element — one tab in a tablist. Presentational, the sibling of<a-radio>: the parent<a-tabs>owns selection, keyboard, and scrolling. The selected look comes from the element's:state(selected)(set by the tablist via theselectedproperty), not a host attribute. There is noTabweb component to render directly —Tabsrenders these from its<Tab>children, and hand-authors write<a-tab>directly inside an<a-tabs>. Wrap the visible label in<a-tab-label>(asTabsdoes) so it carries the optical baseline nudge, truncates with an ellipsis when constrained, and keeps a sibling<a-icon>centered — exactly like<a-button-label>.