2025-07-02 16:27 UTC
Shitty button components. We've all seen them, we've all written them. But they don't have to stay shitty! I wrote about building better button components, with simple patterns that I now use everywhere.
Also: the word "button" appears 181 times in it.
https://timomeh.de/posts/a-better-button-component-with-composition
Replies (1)
-
@timomeh@mastodon.social 2025-07-02 16:27
me: ok i’ll just add a button real quick also me: — A N D T H E N — ⋇ i was inside the button the button was inside me ─── 🪞 i clicked it and it clicked back ᵗʰᵉ ᵖʳᵒᵖˢ ⌇❝ ᵗʰᵉ ᵖʳᵒᵖˢ ᵃʳᵉ ᶜᵒᵐᶦⁿᵍ t͡h͞e̴ p͞r͟o̵p̴s͡ ͘s͜t̨a͘r͞t̢e̡d ͝s̕p͡e͝a̕k͢i͞n͞g̛