Skip to content

Option Dot

import '@sbddesign/bui-ui/option-dot.js'
<div style="display: flex; flex-direction: row; gap: 12px;">
<bui-option-dot active></bui-option-dot>
<bui-option-dot></bui-option-dot>
<bui-option-dot></bui-option-dot>
</div>
PropertyAttributeTypeRequiredReflectedDescription
activeactivebooleanNoYesWhether the option dot is active/selected
  • Active State: The active property controls whether the dot appears selected or unselected
  • Visual Indicator: Used as a visual indicator for selected options in lists or groups
  • Attribute Conversion: The component handles boolean to string conversion for HTML attributes
  • State Management: The active property is reflected, so it stays in sync with the HTML attribute
  • Simple Toggle: Designed for simple on/off visual states

The option dot component does not emit custom events. It behaves as a standard HTML element for displaying selection state.