Skip to content

tuiButton vs tuiIconButton #9512

Answered by waterplea
loxy asked this question in Q&A
Oct 15, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Yes, we were also thinking if we still need tuiIconButton since now it all fits right out of the box. We might reconsider it by v5, but currently an added benefit of tuiIconButton is that it has font-size: 0 so you can have an icon button with text in it that won't be visible to you, but will make the button accessible for assistive technologies.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@loxy
Comment options

Answer selected by loxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants