BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/loomui/weave-text

Weave Text

loomui/weave-text
FreeComponent

Text filled with a slow-drifting gradient, woven from a palette you control.

Live preview

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

Install it

npx shadcn@latest add https://loomui.design/r/weave-text.json

Source

registry/loomui/weave-text.tsxloomui.design/r/weave-text.json
1"use client"
2
3import * as React from "react"
4
5import { cn } from "@/lib/utils"
6import { useInViewport } from "@/registry/lib/use-in-viewport"
7
8export interface WeaveTextProps extends React.ComponentProps<"span"> {
9 /**
10 * Colors woven through the gradient, left to right. The first color is
11 * repeated at the end so the loop is seamless.
12 */
13 colors?: string[]
14 /** Seconds for one full pass. Lower is faster. */
15 duration?: number
16 /** Render a static gradient with no animation. */
17 paused?: boolean
18}
19
20const DEFAULT_COLORS = ["#2dd4bf", "#38bdf8", "#3b82f6", "#67e8f9"]
21
22export function WeaveText({
23 children,
24 className,
25 colors = DEFAULT_COLORS,
26 duration = 8,
27 paused = false,
28 style,
29 ...props
30}: WeaveTextProps) {
31 const root = React.useRef<HTMLSpanElement>(null)
32 const onScreen = useInViewport(root)
33 const backgroundImage = React.useMemo(() => {
34 const stops = colors.length > 0 ? colors : DEFAULT_COLORS
35 return `linear-gradient(90deg, ${[...stops, stops[0]].join(", ")})`
36 }, [colors])
37
38 return (
39 <span
40 ref={root}
41 data-slot="weave-text"
42 className={cn(
43 "inline-block bg-[length:200%_auto] bg-clip-text text-transparent",
44 !paused && "animate-weave motion-reduce:animate-none",
45 !onScreen && "[animation-play-state:paused]",
46 className
47 )}
48 style={{
49 backgroundImage,
50 animationDuration: `${duration}s`,
51 ...style,
52 }}
53 {...props}
54 >
55 {children}
56 </span>
57 )
58}

What it pulls in

Other registry items

  • utils
  • use-in-viewport

Files it writes

  • registry/loomui/weave-text.tsx

Facts

Registry
loomui
Type
registry:ui
Access
Free
Files written
1
Theme wiring
ships cssVars
Licence
MIT
In the index
at or before 2026-08-20
Last confirmed
yesterday

Go to the source

Docs on loomui loomui.design rjcuff/Loom-UI on GitHub Raw registry item This item as JSON

More from loomui

All 91 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Aurora Backdropaurora-backdroploomuiComponentsFreeno deps
Bento Gridbento-gridloomuiComponentsFreeno deps
Card Stackcard-stackloomuiComponentsFreeno deps
Compare Slidercompare-sliderloomuiComponentsFreeno deps
Confetti Buttonconfetti-buttonloomuiComponentsFreeno deps
Count Upcount-uploomuiComponentsFreeno deps
Credit Cardcredit-cardloomuiComponentsFreeno deps
DrawerdrawerloomuiComponentsFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored on what can be checked

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex