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/Word Pull Up Text

Text effects
1 of 2
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.

2 versions·1 libraryCompare all text animations →

  • Word Pull Up Text
  • Letter Pull Up Text

Word Pull Up Text

A word pull up text component.

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

Code

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

"use client"

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

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

export const WordPullUpText: React.FC<WordPullUpTextProps> = ({
  text = "",
  className = "",
}) => {
  const container = {
    hidden: { opacity: 0 },
    show: {
      opacity: 1,
      transition: {
        staggerChildren: 0.2,
      },
    },
  }

  const item = {
    hidden: { y: 20, opacity: 0 },
    show: { y: 0, opacity: 1 },
  }

  return (
    <motion.h1
      variants={container}
      initial="hidden"
      animate="show"
      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]",
        className
      )}
    >
      {text.split(" ").map((word, i) => (
        <motion.span
          key={i}
          variants={item}
          style={{ display: "inline-block", paddingRight: "15px" }}
        >
          {word === "" ? <span>&nbsp;</span> : word}
        </motion.span>
      ))}
    </motion.h1>
  )
}

More like this

Letter Pull Up Text

Eldora UI·Text effects

Type Writer

Kokonut UI·Text effects

8-bit Health Bar

8bitcn·Feedback & loaders

8-bit Mana Bar

8bitcn·Feedback & loaders

8-bit Progress

8bitcn·Feedback & loaders

ASCII Text

React Bits·Text effectsMIT+

8-bit Slider

8bitcn·Inputs & forms

8-bit XP Bar

8bitcn·Feedback & loaders

Scroll Float

React Bits·Text effectsMIT+

Border Trail

Motion Primitives·Cursor & effects

Progress

shadcn/ui·Feedback & loaders

Scroll Index

Kokonut UI·Text effects

Fuzzy Text

React Bits·Text effectsMIT+

Stroke Text

React Bits·Text effectsMIT+

Fade Text

Eldora UI·Text effects