Open JMS55 opened 8 months ago
Widgets should be "headless", meaning they should handle state and accessibility, but not styling. See also https://headlessui.com.
The name SelectionButton seems confusing, as it seems to imply mutual exclusion like a radio button. Segmented buttons aren't always mutually exclusive (examples are text style toggles: bold / italic etc.)
SelectionButton
Widgets should be "headless", meaning they should handle state and accessibility, but not styling. See also https://headlessui.com.
Basics
Containers
Premade Templates