Feature request: Make switch component respect theme border radius settings #107
Closed
c1921
started this conversation in
Ideas / Request new feature
Replies: 1 comment
-
Hello @c1921, Thank you for your feedback! The reason we didn't initially update the switch to follow the theme's radius is that switches are mostly used with a fully rounded style. However, we will update it to respect the global radius moving forward. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thanks for the great work on FlyonUI!
I’ve noticed that the
switch
component always renders with a capsule (fully rounded) shape, even when the theme'sradius
is set to0
or a small value. Other components do reflect the radius setting, but the switch appears to ignore it.I’m not sure if this is an intentional design decision or an oversight. Either way, I wanted to suggest the possibility of making the switch shape configurable based on the global theme radius—similar to how other UI libraries like daisyUI allow square or slightly rounded switches when the theme radius is set accordingly.
Feature suggestion:
Allow the
switch
component to respect the globalradius
setting defined in the theme, so it can appear square or less rounded when desired.Benefits:
Thank you again for your excellent work on this library!
Beta Was this translation helpful? Give feedback.
All reactions