StellarUI

<stellar-tab>

Individual tab option for use inside `stellar-tab-list`.

Properties

Component
Example

Preview

Details History Logs

This panel stays linked to the configurable tab above.

A second static panel keeps the preview usable when the configurable tab is disabled.

Arrow keys and Home/End still move through the enabled tabs.

Active panel: details

Markup

Copy
<stellar-tab panel="details">Details</stellar-tab>

API

Complete props, events, slots, and implementation notes for the shipped tab option.

Props

PropTypeDefaultNotes
panelstring''Name of the target stellar-tab-panel inside the same stellar-tab-list.
disabledbooleanfalsePrevents the tab from being activated or focused through roving tab index.

Events

EventSourceNotes
custom eventsnonestellar-tab is an option surface. Selection events come from the parent stellar-tab-list.

Slots

SlotNotes
defaultVisible tab label content, usually short text and optionally an icon.

Notes

  • `stellar-tab` is not a standalone navigation control. It only makes sense inside a `stellar-tab-list` that owns selection and keyboard handling.
  • Use the default slot for the visible label. `panel` is the only authored link back to the matching `stellar-tab-panel`.
  • The internal `active` state is controller-managed and intentionally not treated as an authored docs prop.