saturation/uisaturation/ui
DocsComponentsBlocksPagesEmails
GitHub

Sections

IntroductionComponentsInstallationMCPThemingDesign

Components

Components

General

AvatarBadgeButtonKbdProgressSeparatorSkeletonSpin ResolveSpinnerSync ButtonTypography

Forms & Inputs

Address LookupCalendar PickerCheckboxComboboxDate PickerEmoji PickerFavicon SearchFieldInputInput GroupInput OTPRadio GroupSelectSliderSwitchTextareaToggleToggle Group

Data Display

AccordionAlertCardChartComparison SliderCredit CardData TableEmptyItemSaturation Credit CardTableTree

Navigation

BreadcrumbCommandMenubarNavigation MenuPaginationTabs

Overlays

CollapsibleContext MenuDialogDropdown MenuSheet

Layout

Button GroupFont ProviderWizard Split Layout

Feedback

Sonner

Animation & Effects

Animated GroupAnimated ListAnimated NumberBeamBlur FadeBorder TrailGlow EffectLiquid MetalLoading StateParallaxPixelProgressive BlurRippleSpotlightText EffectText Shimmer

Productivity

Agent ChatAI Chat InputCoding AgentFiltersFull CalendarKanbanNovel Editor
Docs/Components/Text Effect

Text Effect

Animated text reveal effects.

Loading...

Installation

pnpm dlx shadcn@latest add @saturation-ui/text-effect

Tailwind v4 — Source Scanning

The public shadcn registry installs component source into your project. If Tailwind v4 isn't scanning your components directory, add this to your CSS entry file:

@source "../components";

This ensures all utility classes in CVA variants and data attribute selectors are included in your build.

Usage

import { TextEffect } from "@/components/ui/text-effect"
<TextEffect preset="fade">Hello World</TextEffect>

Examples

Blur

Text reveals through blur

Blur preset.

Fade In Blur

Words fade in with blur and slide up smoothly

Fade with blur and slide.

Scale

Scale Up

Scale up from zero.

Slide

Each word slides up into view

Slide up animation.

Per Character

Character by character

Character by character.

Per Line

First line animates in Second line follows after Third line completes the reveal

Line by line animation.

API Reference

PropTypeDefaultDescription
preset"fade" | "blur" | "slide"—Animation preset.
per"char" | "word" | "line""word"Animate per character, word, or line.
PreviousTabsNextText Shimmer

On This Page

  • Installation
  • Usage
  • Examples
  • Blur
  • Fade In Blur
  • Scale
  • Slide
  • Per Character
  • Per Line
  • API Reference

Blur Preset

Animated Text

Fade-in Blur

Words animate one by one with blur

Slide Preset

Smooth sliding animation effect