sigilUI

Word Rotate

Cycle through a set of words in a shared text position.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { WordRotate } from "@sigil-ui/components";

Usage

<WordRotate words={["Design", "Build", "Ship"]} />

Props

PropTypeDefaultDescription
wordsstring[]—Array of words/phrases to cycle through.
durationnumber2500Time each word is shown in ms.

Token integration

CSS VariablePurpose
--s-duration-fastDuration fast
--s-ease-outEase out
--s-ease-defaultEase default