Dev Design Library

Digit Swap

Fixed-slot digits and mask glyphs that roll on change with controllable direction, stagger, replay, and suffix emphasis.

Digit Swap preview
Library
beUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @beui/digit-swap
Files
  • components/motion/digit-swap.tsx
  • lib/ease.ts
  • lib/utils.ts
Source
https://github.com/starc007/ui-components

Categories

More from beUI