Skip to content

v1.3.0 — eight new components

Choose a tag to compare

@mmdju mmdju released this 04 Dec 01:15
· 1 commit to main since this release

Eight new components across inputs, actions, navigation, status and showcase; the library now holds 88 components in five categories.

New components

  • Slingshot — a slingshot toy: pull the ball back in its elastic socket, let go, and it flies on an arc, bounces off the stage's own edges and settles back into the socket.
  • Toast Stack — three toasts that always stay stacked, the newest in front with a sliver of the two behind it, fanning open into a list on hover and gathering back when the pointer leaves.
  • Voice Note — a hold-to-record voice note: the pill opens into a live wave, sliding right throws the take away, and what you keep becomes a clip with a scrubbable wave.
  • OTP — four or six cells and a caret that take a one-time code: a right code draws the cells together until they fuse into one capsule that says verified, a wrong one shivers and drains.
  • Favicon Search — a search field that reads a website URL, extracts its domain, and fades that site's favicon into the field as you type; three fallback sources, and faviconSrc overrides them.
  • File Tree — an animated file explorer with spring folder expand/collapse, a hover highlight that glides between rows, and automatic file-type icons.
  • Pinned List — a list where pinning an item lifts it into its own section with a spring layout animation, reusing the same DOM node so keyboard focus stays on the toggle.
  • Notion Mention Link — a link mention that opens a rich preview card on hover or keyboard focus, with the card data supplied by you or by an optional same-origin endpoint.

Fixes and polish

  • One family colour across the demos.
  • Slingshot stage wording rewritten and the voice-note cross note reworded.
  • autoPreview documented on Slingshot, Toast Stack, Voice Note and OTP.
  • The default Invite Card image is served as webp.
  • The guard now catches TSX syntax, typography and index drift.

Full diff: v1.2.0...v1.3.0