BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/aniket-ui/link-reveal

Link Reveal

aniket-ui/link-reveal
UnverifiedComponent

Animated link that reveals the website favicon and primary color on hover.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/singhjashanjot/jashan.codes/master/public/r/link-reveal.json

Source

registry/components/link-reveal/link-reveal.tsxraw.githubusercontent.com/singhjashanjot/jashan.codes/master/public/r/link-reveal.json
1"use client";
2
3import { motion, useReducedMotion } from "motion/react";
4import { useState } from "react";
5import type { ReactNode } from "react";
6
7import { cn } from "@/lib/utils";
8
9import type { LinkRevealData } from "./types";
10
11export type LinkRevealProps = Omit<
12 React.ComponentProps<"a">,
13 | "children"
14 | "onDrag"
15 | "onDragEnd"
16 | "onDragStart"
17 | "onAnimationStart"
18 | "onAnimationEnd"
19> &
20 Partial<LinkRevealData> & {
21 children: ReactNode;
22 icon?: ReactNode;
23 };
24
25export const LinkReveal = ({
26 favicon,
27 primaryColor,
28 icon,
29 className,
30 children,
31 ...props
32}: LinkRevealProps) => {
33 const reducedMotion = useReducedMotion();
34 const [hovered, setHovered] = useState(false);
35 const animate = reducedMotion ? false : hovered;
36
37 return (
38 <motion.a
39 className={cn(
40 "group/link relative inline-flex items-center font-medium",
41 "underline underline-offset-2 !no-underline",
42 primaryColor && "hover:text-[var(--link-reveal-color)]",
43 className
44 )}
45 style={
46 {
47 "--link-reveal-color": primaryColor ?? undefined,
48 } as React.CSSProperties
49 }
50 onHoverStart={() => setHovered(true)}
51 onHoverEnd={() => setHovered(false)}
52 animate={animate ? { x: -4 } : { x: 0 }}
53 transition={{ damping: 25, stiffness: 400, type: "spring" }}
54 {...props}
55 >
56 <motion.span
57 aria-hidden
58 className="absolute left-0 top-0 bottom-0 my-auto inline-flex size-[1.2em] items-center overflow-hidden rounded-xs"
59 animate={animate ? { opacity: 1, x: 0 } : { opacity: 0, x: 4 }}
60 transition={{ duration: 0.3, ease: "easeOut" }}
61 >
62 {icon ??
63 (favicon && (
64 // biome-ignore lint/performance/noImgElement: registry component, favicon from external source
65 <img
66 alt=""
67 className="size-full shrink-0 object-contain"
68 height={16}
69 src={favicon}
70 width={16}
71 />
72 ))}
73 </motion.span>
74 <motion.span
75 className="leading-none"
76 animate={animate ? { paddingLeft: "1.4em" } : { paddingLeft: 0 }}
77 transition={{ duration: 0.3, ease: "easeOut" }}
78 >
79 {children}
80 </motion.span>
81 </motion.a>
82 );
83};

What it pulls in

npm packages

  • motion

Files it writes

  • registry/components/link-reveal/types.ts
  • registry/components/link-reveal/server.ts
  • registry/components/link-reveal/link-reveal.tsx

Facts

Registry
aniket-ui
Type
registry:component
Access
Unverified
Files written
3
Licence
MIT
In the index
at or before 2026-08-09
Last confirmed
today

Go to the source

aniketpawar.com singhjashanjot/jashan.codes 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

ToolDrift

What the AI coding tools changed last night

tooldrift.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 ToolDrift

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 ToolDrift

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 ToolDrift

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