Word Cycle
One word at a time inside a line of text, each fading and rising into place in the width of the longest word. No dependencies.
UnlistedNo dependencies
Not in the components list.
This is a simple piece that ships with a site built with mewo. It installs like any other item, but the catalog, the sidebar and search leave it out.
Seen inBetween Rivers
A long view of the political forces.
Install
Terminal
npx shadcn@latest add @mewo/word-cycleNot using the registry directory?
Point the CLI straight at the item URL:
npx shadcn@latest add https://www.mewo-ui.com/r/word-cycle.json
Props
| Prop | Type | Default | Description |
|---|---|---|---|
words | string[] | ["political", "economic", "cultural"] | The words, shown one at a time in place. |
interval | number | 2200 | Milliseconds each word stays. |
className | string | — | Merged onto the inline grid. |