ui/topiabeta

Building a Button

What I learned making a button feel right on top of Base UI.

Placeholder note. Start from the primitive, add only what the design needs, and keep state in data attributes instead of JS.

Start from the primitive

Base UI ships behavior without opinions. Styling is the part you own.

Press feedback

Small scale on :active is enough. Anything more reads as a toy.