BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/interlace-ui/flip-words

Flip Words

interlace-ui/flip-words
FreeComponent

A headline word that flips through a list. Each replacement enters letter-by-letter out of an 8px blur while the outgoing one drifts up, blurs and scales away.

Install it

npx shadcn@latest add https://ds.interlace.tools/r/flip-words.json

Source

registry/interlace-ui/aceternity/flip-words.tsxds.interlace.tools/r/flip-words.json · first 6 KB
1"use client";
2
3import {
4 type ComponentPropsWithoutRef,
5 useCallback,
6 useEffect,
7 useId,
8 useMemo,
9 useState,
10} from "react";
11
12// @interlace/flip-words v1.1.0 — Interlace design system.
13// Docs, props and live preview: https://ds.interlace.tools/c/flip-words
14// What changed since: https://ds.interlace.tools/c/flip-words#history
15// Generated banner — keep it, the upgrade diff reads this version.
16
17/**
18 * @interlace/ui — FlipWords
19 *
20 * A headline word that flips through a list. Each replacement enters
21 * letter-by-letter out of an 8px blur while the outgoing one drifts up, blurs
22 * and scales away.
23 *
24 * It runs itself on a `duration` dwell timer (3000ms by default), or you hand
25 * it `index` + `onIndexChange` and drive it yourself.
26 *
27 * ## Provenance
28 *
29 * Our reimplementation of the Aceternity UI `FlipWords`. What is ours: a
30 * numeric index with a controlled mode — upstream is uncontrolled-only and
31 * derives its position from `words.indexOf(currentWord)`, which misbehaves the
32 * moment the list contains a duplicate; `currentColor` instead of a hard-coded
33 * `text-neutral-900 dark:text-neutral-100` pair; `pauseOnHover`; and the
34 * reduced-motion branch below.
35 *
36 * ## Anatomy
37 *
38 * FlipWords (span — data-slot="flip-words")
39 * ├─ span.sr-only aria-live=polite (the announced text)
40 * └─ span[data-slot=flip-words-static] (under reduce)
41 * | motion.span[data-slot=flip-words-word]
42 * └─ span per word
43 * └─ motion.span per letter
44 *
45 * The visible word is `aria-hidden` in BOTH branches. Everything a screen
46 * reader gets comes from the polite live region, so the letter-by-letter
47 * staging is never spelled out.
48 *
49 * ## Motion
50 *
51 * JS-driven — `motion/react` enter/exit variants plus a `setTimeout` cycle —
52 * so the CSS reset in `styles/preflight.css` reaches none of it. It is gated
53 * in JS, at both levels: `cyclingPaused` includes `reducedMotion`, so the
54 * timer never fires, and the render swaps the entire `AnimatePresence` subtree
55 * for a plain `<span>` carrying the active word. Under
56 * `prefers-reduced-motion: reduce` you get one stable, readable word and no
57 * animation object is ever constructed.
58 *
59 * `pauseOnHover` is documented as a no-op under reduce for the same reason:
60 * there is nothing left to pause.
61 *
62 * ## Layout
63 *
64 * The outgoing word animates to `position: absolute`, so the span does not
65// … truncated

Facts

Registry
interlace-ui
Type
registry:ui
Access
Free
Files written
0
Licence
the repository states none
In the index
at or before 2026-08-13
Last confirmed
yesterday

Go to the source

ds.interlace.tools Raw registry item This item as JSON

More from interlace-ui

All 140 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
A11y Startera11y-starterinterlace-uiComponentsFreeno deps
Accordionaccordioninterlace-uiComponentsFreeno deps
Alertalertinterlace-uiComponentsFreeno deps
Alert Dialogalert-dialoginterlace-uiComponentsFreeno deps
Animated Gradient Textanimated-gradient-textinterlace-uiComponentsFreeno deps
Animated Grid Patternanimated-grid-patterninterlace-uiComponentsFreeno deps
Animated Listanimated-listinterlace-uiComponentsFreeno deps
Article Cardarticle-cardinterlace-uiComponentsFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex