Changelog
What's new
0.4.1 Better on npm
2026-11-25
- improved The npm page shows the full README: a banner, every element with its entry, theming and browser support, and links to the docs.
- improved The package's homepage and description point to the docs at claymorph-ui.lauroguedes.dev.
0.4.0 Packaged
2026-11-25
- new Claymorph UI installs from npm as
claymorph-ui, MIT licensed, with@ui-sdk/weband@ui-sdk/coreas peer dependencies. - new One entry per element, like
claymorph-ui/select: it registers that element and the ui-sdk parts it wraps, and bundlers leave out the rest.claymorph-uistill registers everything. - new Types ship with the package, and each entry adds its element to
HTMLElementTagNameMap. - improved The stylesheet is its own import,
claymorph-ui/clay.css: importing the elements no longer loads it.
0.3.3 Slipped back in
2026-11-25
- improved Attached popups squeeze out of a sliver at the trigger's edge in their own colour and only grow outward, so nothing shows through the button or climbs up beside it.
- improved Closing slips the popup into its trigger at a steady pace, and the trigger bounces once it's really back in, not while part of it still shows.
- fixed A line showed down the trigger's right side while an attached popup was open: the popup kept the button's hover size after the button settled. It follows the button now.
- fixed A band as wide as the trigger showed along the top of an attached card: the trigger drew its own copy of the card's edge under it.
- fixed An attached tag showed a dark ring where it met its button: the button never drew its side of the joint, because it hadn't set up yet when the tooltip looked for it.
- new
fuseon attached Pour, Spill, Unfold and Pop, from 0 to 1: how far the popup melts into its trigger, from a slight waist to one body. - new Shapes can be a
flattenpatch: it smooths the crease where two melted parts meet without changing their outline. - improved Attached joints are always smooth in Pour, Spill, Unfold and Pop: the trigger's edge no longer shades a line where the popup meets it, at any
fuse. - fixed A dark line flickered at the joint while a tag came out or went back in, and closing soon after opening hid the tag before its clay had tucked in.
- improved Every attached part melts deeper into what it's attached to, as Pop's tag does: Pour, Spill and Unfold flow out of their trigger, an attached toast stack reads as one slab, and Type's label and hint flow into its rim, instead of a shaded line between them.
- fixed The option highlight fades out whole when the pointer leaves the list, instead of flattening to a rim that popped away.
- fixed Toasts glide to their new place when one arrives or leaves, instead of jumping, and an attached stack no longer clips the toast that's left once its neighbour has tucked in.
0.3.2 Tucked in
2026-11-25
- improved Attached popups blend their colour into the trigger's across the joint, so a teal button and a gray list melt into each other instead of meeting at a line.
- improved Closing eases the popup all the way back into its trigger, which gives a little bounce as it lands.
- improved Pour shows the chosen value once the list has gone, on the trigger's bounce.
- new A well slides between options under the pointer in Pour and Spill, instead of the highlight jumping.
- fixed The trigger no longer shifts under an open attached popup as the pointer leaves it: it holds still while the popup is out.
- fixed A new attached toast dulled its neighbour while it came out of it, and the first toast of a stack showed its CSS look for a moment.
0.3.1 Melted on
2026-11-25
- new
attachedon Pour, Spill and Unfold: the popup squeezes out of its trigger like Roll's bead and tucks back in. - improved Attached parts melt straight into their body like a button group's parts, and the trigger melts into the popup too, so the joint has no ridge and no seam.
- improved Tucking back in settles without overshooting, so the clay can't flicker as a popup or toast closes.
- improved The chosen value is wiped in out of a blur, starting before the new text is ever painted.
- fixed The backdrop flashed back for a frame as a dialog finished closing; popups did the same.
- fixed Attached popups: the trigger kept a lump after closing, showed a hole while the popup came out, and bulged in its own colour for a few frames before the popup's clay drew.
- fixed Unfold's card faded and slid its own clay along with its text, so it showed late and faint.
- fixed A popup no longer flashes its CSS clay for the frame it first opens on.
0.3.0 Attached
2026-11-25
- new
attachedon Type: the label and hint become beads pulled out of the rim, joined by a neck. - new
attachedon Drop: the stack is one body, each toast pulled out of the one before it. - new
attachedon Pop: the tag grows out of its button and tucks back in. - improved Type's focus is its own rim glowing instead of an outline.
- improved Toasts leave the way they came in.
- improved The chosen value rolls into Pour's button instead of swapping at once.
- fixed Lift's slab stayed at the top of the page when it was opened from further down.
0.2.0 More clay
2026-11-25
- new Latch, Fuse and Drag: toggles, fused button groups and slide to confirm.
- new Shift, Spill, Unfold, Lift and Drop: tabs, menus, popovers, dialogs and toasts.
- new Type and Pick: text fields carved into the clay, and radios a bead hops between.
- new Frame, Fill and Gauge: avatars, progress bars and meters, upright meters make bar charts.
- improved Shapes melted into one body now blend their height too, so one part can dent while the rest stays raised. Up to 16 shapes per surface.
- improved The showcase is rebuilt from the components alone.
0.1.0 First clay
2026-11-24
- new One shared WebGL2 engine with clay shading, melting shapes and a CSS fallback.
- new Press, Roll, Slide, Flip, Tick, Stretch, Pour, Hold, Stamp and Pop.
- new Docs with live demos, a Playground for the material, llms.txt and a skill.