Replies: 2 comments
-
A pure icon button would be really helpful. I initially expected this to be achievable by providing an empty default slot or empty label and prefix-icon. Closest I could get without "hacking" css was using |
Beta Was this translation helpful? Give feedback.
0 replies
-
Well for sure this seens like a good idea, but also it is really easy to export the button and just change it so it accepts an icon as label for example, so you could name it |
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.
-
When we just want to have a button with no (visible) label but an icon instead...
It would be nice to do
<FormKit type="button" icon="bitcoin" />
and have just the icon and also an accessibility label.This prevents us from having to do any weird
sections-schema
or css to fix a prefix icon.Beta Was this translation helpful? Give feedback.
All reactions