Action Swap

CTA button and slot primitives for swapping text and icons with blur motion.

Cascade

action-swap-cascade.tsx

Letter-by-letter slot roll — the old label's letters drop away as the new ones land, left to right.

Install

$ bunx --bun shadcn add @beui/action-swap-cascade

API Reference

Blur

action-swap-blur.tsx

Copy-button style swap with blur, opacity and scale.

Install

$ bunx --bun shadcn add @beui/action-swap-blur

API Reference

Roll

action-swap-roll.tsx

The next text or icon rolls in from below with blur.

Install

$ bunx --bun shadcn add @beui/action-swap-roll

API Reference

Keep in mind

Some components on this site are inspired by or recreated from existing work across the web. I'm not here to take credit; just to learn, experiment, and sometimes push things a bit further. If something looks familiar and I forgot to mention you, reach out and I'll fix that right away.

Updated