Skip to content
Text & Typography Fancy Stable

HyperText

.md

Text that scrambles into random uppercase letters and resolves character-by-character back to the original on hover, with a staggered per-letter reveal and an optional animate-on-load mode

Available for Svelte 5, React, and Vue 3.

Preview

Installation

pnpm add fancy-ui-svelte
import { HyperText } from "fancy-ui-svelte";

Usage

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

<HyperText text="Hover Me!" />

Examples

Basic Usage

Animate on Load

Trigger animation on mount.

Slow Animation

Longer animation duration.

Props

PropTypeDefaultDescription
text *string-Text to display and scramble
duration number800Total animation duration in ms
animateOnLoad booleanfalseWhether to animate on initial load