A Simpler ButtonComponent: Just Render a Div
30 May 2026
A couple of weeks ago I wrote about trying to build a universal ButtonComponent — one
with no custom CSS classes. The result worked but was complicated. The night I wrote
it up, a simpler approach just came to me.
No more .button-grape: one component to bind them all
17 May 2026
A colleague asked recently whether we could push all of our button styles into a single
component. Could we get rid of the CSS classes and have one place that knows what a button
looks like — regardless of whether it’s a link, a form submit, a control, whatever?