layout(string|Closure $layout) | Setup | 'row' | row or card |
labelPosition(string|Closure $pos) | Setup | 'start' | start or end |
description(string|Closure|null $text) | Setup | null | Sub-label text |
color(string|Closure|null $color) | Setup | 'primary' | Toggle color when ON |
badge(string|Closure|null $badge) | Setup | null | Optional text badge |
badgeColor(string|Closure $color) | Setup | 'primary' | Badge color |
ripple(bool|Closure $condition) | Setup | false | Enable Material-style ripple |
compact(bool|Closure $condition) | Setup | false | Reduce padding |
inline(bool|Closure $condition) | Setup | false | Render without block wrapper |
inlineWithLabel(bool|Closure $cond) | Setup | false | Position toggle next to label |
size(string|Closure $size) | Setup | 'md' | sm, md, lg |
onColor(string|Closure $color) | Setup | — | Inherited from Filament |
offColor(string|Closure $color) | Setup | — | Inherited from Filament |
onIcon(string|Closure $icon) | Setup | — | Inherited from Filament |
offIcon(string|Closure $icon) | Setup | — | Inherited from Filament |