Updated
Domino Letters
ProCustomize
Angle72°
Fall0.18s
Fall stagger0.050s
Rise0.30s
Rise stagger0.040s
Text size48px
Installation
ProDomino Letters is a Pro component
Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.
Install with a key
- Add the Pro registry to
components.json:components.json { "registries": { "@uibrik-pro": { "url": "https://uibrik.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" } } } } - Put your key in
.env.localand add that file to.gitignore:.env.local UIBRIK_LICENSE=your-license-key - Install it:
Terminal npx shadcn@latest add @uibrik-pro/domino-letters
Loading your installation…
Usage
import { DominoLetters } from "@/components/uibrik/domino-letters/domino-letters";<DominoLetters play={0} text="Domino effect" angle={72} fallDuration={0.18} fallStagger={0.05} riseDuration={0.3} riseStagger={0.04}/>Where to use Domino Letters
Playful headlines
Letters toppling into each other add humour to a hero or welcome screen.
Kids and game brands
A chain reaction of letters suits toy, game and education products.
Section titles
A one-off topple on scroll gives a key heading more presence than a fade.
Props
DominoLetters- text
- Type string
- "Domino effect"
- The copy to animate.
- angle
- Type number
- 72
- How far each letter tips over.
- fallDuration
- Type number
- 0.18
- Time for one letter to fall.
- fallStagger
- Type number
- 0.05
- Delay between falling letters.
- riseDuration
- Type number
- 0.3
- Time for one letter to stand back up.
- riseStagger
- Type number
- 0.04
- Delay between rising letters.
- playrequired
- Type number
- –
- Each change plays the effect again; 0 shows its resting state.