Text & Typography Fancy Stable

ContainerTextFlip

Text container that cycles through words with per-character blur animation

Preview

Installation

pnpm add fancy-ui-svelte
import { ContainerTextFlip } from 'fancy-ui-svelte'

Usage

svelte
<script lang="ts">
  import { ContainerTextFlip } from 'fancy-ui-svelte';
</script>

<ContainerTextFlip />

Examples

Basic Usage

Custom Words

Fast Interval

Shorter flip interval.

Props

PropTypeDefaultDescription
words string[]["better","modern","beautiful","awesome"]Array of words to cycle through
interval number3000Time between word changes in ms
animationDuration number700Per-character animation duration in ms
textClass string""CSS classes for the text content span