BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/eldoraui/seperate-away-text

seperate-away-text

eldoraui/seperate-away-text
FreeComponent

A seperate away text component.

Live preview

live · rendered by the registry
Rendered by eldoraui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://eldoraui.site/r/seperate-away-text.json

Source

registry/eldoraui/seperate-away-text.tsxeldoraui.site/r/seperate-away-text.json
1"use client"
2
3import clsx from "clsx"
4import { motion } from "motion/react"
5
6interface SeparateAwayTextProps {
7 textLeft?: string
8 textRight?: string
9 className?: string
10}
11
12export const SeparateAwayText: React.FC<SeparateAwayTextProps> = ({
13 textLeft = "",
14 textRight = "",
15 className = "",
16}) => {
17 const separate = {
18 hidden: { opacity: 0, y: 0 },
19 visible: (custom: number) => ({
20 opacity: 1,
21 y: custom * 5,
22 transition: { duration: 1.5 },
23 }),
24 }
25
26 return (
27 <div className={className}>
28 <motion.h1
29 custom={-1}
30 variants={separate}
31 initial="hidden"
32 animate="visible"
33 className={clsx(
34 "font-display text-center font-bold drop-shadow-sm",
35 "text-4xl md:text-5xl lg:text-6xl xl:text-7xl",
36 "tracking-[-0.02em]",
37 "md:leading-[4rem] lg:leading-[4.5rem] xl:leading-[5rem]"
38 )}
39 >
40 {textLeft}
41 </motion.h1>
42 <motion.h1
43 custom={1}
44 variants={separate}
45 initial="hidden"
46 animate="visible"
47 className={clsx(
48 "font-display text-center font-bold drop-shadow-sm",
49 "text-4xl md:text-5xl lg:text-6xl xl:text-7xl",
50 "tracking-[-0.02em]",
51 "md:leading-[4rem] lg:leading-[4.5rem] xl:leading-[5rem]"
52 )}
53 >
54 {textRight}
55 </motion.h1>
56 </div>
57 )
58}

What it pulls in

npm packages

  • motion
  • react
  • clsx

Files it writes

  • registry/eldoraui/seperate-away-text.tsx

Facts

Registry
eldoraui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-01
Last confirmed
today

Go to the source

Docs on eldoraui eldoraui.site karthikmudunuri/eldoraui on GitHub Raw registry item This item as JSON

More from eldoraui

All 115 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
animated-badgeanimated-badgeeldorauiComponentsFree2 deps
animated-frameworksanimated-frameworkseldorauiComponentsFree2 deps
animated-grid-patternanimated-grid-patterneldorauiComponentsFree3 deps
animated-listanimated-listeldorauiComponentsFree1 dep
animated-shiny-buttonanimated-shiny-buttoneldorauiComponentsFree1 dep
blur-in-textblur-in-texteldorauiComponentsFree3 deps
browserbrowsereldorauiComponentsFree2 deps
card-flip-hovercard-flip-hovereldorauiComponentsFree1 dep
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex