UIPin
ComponentsIconsIllustrationsMotionTemplatesApps
Boards
UIPin

Free, open-source UI components, icons, illustrations, motion, templates and apps, in one search. Every item links to its source and licence.

UIPin is free. If it saved you time, you can keep it running:

Buy me a coffee
ComponentsIconsIllustrationsMotionTemplatesAppsLibrariesCompareNew this weekMCP for agentsBoardsPrivacy

Components, icons and artwork belong to their authors and are shown under their open-source licences.

Eldora UI/Letter Pull Up Text

Text effects
1 of 3
Compiling

Theme it

Every preview, live

Brand colour

Corner radius

Font

Recolours shadcn’s tokens, Tailwind’s accent colours and colours set in the code. Red, amber and green classes stay, since they usually mean error, warning or success.

3 versions·1 libraryCompare all text animations →

  • Letter Pull Up Text
  • Scale Letter Text
  • Word Pull Up Text

Letter Pull Up Text

A letter pull up text component.

npx shadcn@latest add https://eldoraui.site/r/letter-pull-up-text.json
Open in v0 Docs Repo
Library
Eldora UI
License
MIT
Stack
React · Tailwind CSS · animated
Packages
clsxmotion
Size
51 lines
Demo
From Eldora UI

Code

registry/eldoraui/letter-pull-up-text.tsx

"use client"

import clsx from "clsx"
import { motion } from "motion/react"

interface LetterPullUpTextProps {
  text?: string
  className?: string
}

export const LetterPullUpText: React.FC<LetterPullUpTextProps> = ({
  text = "",
  className = "",
}) => {
  const letters = text.split("")

  const pullupVariant = {
    initial: { y: 100, opacity: 0 },
    animate: (i: number) => ({
      y: 0,
      opacity: 1,
      transition: {
        delay: i * 0.05, // Delay each letter's animation by 0.05 seconds
        duration: 0.5, // Adjust duration for smoothness
      },
    }),
  }

  return (
    <div className={clsx("flex justify-center", className)}>
      {letters.map((letter, i) => (
        <motion.h1
          key={i}
          variants={pullupVariant}
          initial="initial"
          animate="animate"
          custom={i}
          className={clsx(
            "font-display text-center font-bold drop-shadow-sm",
            "text-4xl md:text-5xl lg:text-6xl xl:text-7xl",
            "tracking-[-0.02em]",
            "md:leading-[4rem] lg:leading-[4.5rem] xl:leading-[5rem]"
          )}
        >
          {letter === " " ? <span>&nbsp;</span> : letter}
        </motion.h1>
      ))}
    </div>
  )
}

More like this

Word Pull Up Text

Eldora UI·Text effects

8-bit Slider

8bitcn·Inputs & forms

8-bit Health Bar

8bitcn·Feedback & loaders

8-bit Mana Bar

8bitcn·Feedback & loaders

8-bit Progress

8bitcn·Feedback & loaders

Scroll Index

Kokonut UI·Text effects

Drape Background

Kokonut UI·Backgrounds

8-bit Textarea

8bitcn·Text effects

Border Trail

Motion Primitives·Cursor & effects

Fuzzy Text

React Bits·Text effectsMIT+

Toolbar Expandable

Motion Primitives·Navigation

Ai Message

SmoothUI·Backgrounds

Ai Reasoning

SmoothUI·Media & 3D

Progress

shadcn/ui·Feedback & loaders

Carousel

HextaUI·Media & 3D