Skip to content

    Browse components

    Letter Rise

    Reveals text character by character or word by word when it scrolls into view.

    Open
    Customize

    chars
    words
    slide
    blur
    fade

    Installation

    npx shadcn@latest add @glint-ui/letter-rise

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/letter-rise.json

    Usage

    import { LetterRise } from "@/components/ui/letter-rise";
    
    <LetterRise text="Components that move you" variant="blur" />

    Props

    PropTypeDefaultDescription
    textstring"Components that move you"Text to animate.
    splitBy"chars" | "words""chars"Animate each character or each word.
    variant"slide" | "blur" | "fade""slide"Entrance style.
    staggernumber35Delay between pieces, in ms.
    durationnumber600Duration of each piece, in ms.
    as"p" | "h1" | "h2" | "h3" | "span" | "div""p"Element to render.
    classNamestring—Extra classes for the root element.