Skip to preview
Explore / Components
Palette

Number motion

Digit Swap

Masked card digits roll through fixed character slots in either direction.

Playground
Preparing interactive preview…
Try it. Change it. Make it yours.
Agent details

Source locations and the selected example. Props and behavior live in the source.

Use Glaze's Digit Swap (digit-swap) in this interface.
Selected preview: https://glaze.dev.celados.com/components/digit-swap

Glaze is a Solid 2 / StyleX library: @celados/glaze.
Repository: https://github.com/celados/glaze
Start with skills/glaze/SKILL.md and skills/glaze/references/index.md in the repository or installed package.
Follow the discovery index to the public module under src/solid/. Read its exported props/types and implementation before composing it.
Find the selected example by searching for "digit-swap" in explorer/*catalog.tsx; follow renderPreview to its implementation and imports.
The matching preview is the interaction reference. Use the source types as the API contract, not a guessed React or Solid 1 equivalent.

Example composition to locate in the source:
<DigitSwap value={value()} direction="up" suffixLength={4} />