JMS55 / bevy_dioxus

Apache License 2.0
56 stars 8 forks source link

Widgets #3

Open JMS55 opened 8 months ago

JMS55 commented 8 months ago

Widgets should be "headless", meaning they should handle state and accessibility, but not styling. See also https://headlessui.com.

Basics

viridia commented 8 months ago

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.)