StellarUI

<stellar-listbox-item>

Properties

Preview

Markup

Copy
<stellar-listbox-item
  value="luna"
  selected
>
  Luna
  <span slot="description">Confident explorer with bright green eyes.
</span>
</stellar-listbox-item>

API

Complete props, events, slots, and implementation notes for the shipped listbox item.

Props

PropTypeDefaultNotes
labelstring''
descriptionstring''
valuestring''
selectedbooleanfalse
disabledbooleanfalse

Events

EventSourceNotes

Slots

SlotNotes
defaultMain label content for the option row.
descriptionOptional helper copy shown below the label.

Notes

  • `stellar-listbox-item` is the option primitive used by `stellar-listbox`.
  • The controller is responsible for `selected`, tone, focus, and readonly/disabled propagation. Apps should usually manage selection from the listbox host.
  • Item rows support rich default slot content and an optional `description` slot for secondary copy.
  • `value` should stay stable so keyboard selection and host value syncing remain deterministic.