BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/motion-primitives/text-shimmer
This component no longer exists. It was in motion-primitives’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-06 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

Text Shimmer

motion-primitives/text-shimmer
RemovedComponent

A component that applies a shimmering effect to text.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/ibelick/motion-primitives/HEAD/public/c/text-shimmer.json

Source

text-shimmer.tsxraw.githubusercontent.com/ibelick/motion-primitives/HEAD/public/c/text-shimmer.json
1'use client';
2import React, { useMemo, type JSX } from 'react';
3import { motion } from 'motion/react';
4import { cn } from '@/lib/utils';
5
6export type TextShimmerProps = {
7 children: string;
8 as?: React.ElementType;
9 className?: string;
10 duration?: number;
11 spread?: number;
12};
13
14function TextShimmerComponent({
15 children,
16 as: Component = 'p',
17 className,
18 duration = 2,
19 spread = 2,
20}: TextShimmerProps) {
21 const MotionComponent = motion.create(
22 Component as keyof JSX.IntrinsicElements
23 );
24
25 const dynamicSpread = useMemo(() => {
26 return children.length * spread;
27 }, [children, spread]);
28
29 return (
30 <MotionComponent
31 className={cn(
32 'relative inline-block bg-[length:250%_100%,auto] bg-clip-text',
33 'text-transparent [--base-color:#a1a1aa] [--base-gradient-color:#000]',
34 '[background-repeat:no-repeat,padding-box] [--bg:linear-gradient(90deg,#0000_calc(50%-var(--spread)),var(--base-gradient-color),#0000_calc(50%+var(--spread)))]',
35 'dark:[--base-color:#71717a] dark:[--base-gradient-color:#ffffff] dark:[--bg:linear-gradient(90deg,#0000_calc(50%-var(--spread)),var(--base-gradient-color),#0000_calc(50%+var(--spread)))]',
36 className
37 )}
38 initial={{ backgroundPosition: '100% center' }}
39 animate={{ backgroundPosition: '0% center' }}
40 transition={{
41 repeat: Infinity,
42 duration,
43 ease: 'linear',
44 }}
45 style={
46 {
47 '--spread': `${dynamicSpread}px`,
48 backgroundImage: `var(--bg), linear-gradient(var(--base-color), var(--base-color))`,
49 } as React.CSSProperties
50 }
51 >
52 {children}
53 </MotionComponent>
54 );
55}
56
57export const TextShimmer = React.memo(TextShimmerComponent);

What it pulls in

npm packages

  • motion

Files it writes

  • components/core/text-shimmer.tsx

Facts

Registry
motion-primitives
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-01
Last confirmed
13 days ago

Go to the source

motion-primitives.com ibelick/motion-primitives on GitHub Raw registry item This item as JSON

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 from measured facts

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