options(array|Closure $options) | Setup | [] | Option keys => labels or rich arrays (label, icon, disabled, tooltip). |
icons(array|Closure $icons) | Setup | [] | Map of option key => Heroicon name. |
disabledOptions(array|Closure $keys) | Setup | [] | Keys that cannot be selected. |
variant(string|Closure $variant) | Setup | 'default' | Visual variant: default (filled track), ghost (transparent track). |
color(string|Closure|null $color) | Setup | null | Selection accent color. Defaults to primary for ghost. |
separators(bool|Closure $condition = true) | Setup | true | Vertical dividers between segments. |
fullWidth(bool|Closure $condition = true) | Setup | false | Stretch the control to full field width. |
iconOnly(bool|Closure $condition = true) | Setup | false | Hide labels; show icons only. |
expandSelectedLabel(bool|Closure $condition = true) | Setup | false | Animate the selected segment to a wider width. |
size(string|ControlSize|Closure $size) | Setup | 'md' | Control size: sm, md, lg. |