light, edge and depth
inspired by the buttons on vibrant.design, which have just enough depth to feel pressable: a lit upper rim, a darker lower edge and a small shadow underneath, and by the keycap submit button on designeer.xyz. the surface lives on a pseudo-element, so a press can squash or sink the material while the label keeps its size.
four surfaces
these four studies start there and pull in different directions: soft strips the rim back, bevel keeps the layered edge, push gives the cap a base to travel into, and key sets a lit keycap inside a recessed body that sinks in two stages when you press it. each is shown in a neutral and an accent colour so the lighting has to work on both.
one set of controls
the controls change the same css variables in all four, and the stage follows the site’s theme. no image assets or animation library, just gradients, shadows and interruptible transitions.