design-infraGitHub
Report a problem or share feedback← Catalog

Staggered Letter Text Swap

curatedfree

microkit/staggered-letter-text-swap

A surface-free text interaction with a staggered per-letter upward replacement.

hover — subtlerecipeRefinedPlayful
$npx shadcn@latest add https://microkit.co/r/staggered-letter-text-swap.json

Our notes

Each letter rolls up and is replaced by its twin with a 34ms stagger on hover/focus-visible — pure CSS transitions via a --letter-delay var; the button carries aria-label and the letter spans are aria-hidden; motion-reduce handled. Remove the hard-coded font-[Arial] and light-dark() text colour so it inherits your type and tokens. Nav links and text CTAs.
Source
MicroKit
Kind
component
Categories
text-effect, button
Use as
recipe — technique you apply to your own markup
Applies to
buttontext-effectnavigation
Motion
on hover · subtle · css · low cost · respects reduced motion
Tags
css, hover
Licence
MIT ("MIT License — Copyright (c) 2026 Henrique Barone", github.com/henriquegpb/microkit). README credits note that some interactions are adapted from publicly shared examples and Webflow exports.
Live demo
microkit.co
Docs
microkit.co