BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ruixen-ui/animated-link
This component no longer exists. It was in ruixen-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-12 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.

Animated Link

ruixen-ui/animated-link
RemovedComponent

A zero-dependency animated link whose underline reveals from the left, the right, or grows from the center on hover, with an optional diagonal arrow that lifts into view. Pure CSS and fully theme-aware.

Live preview

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

Install it

npx shadcn@latest add https://ruixen.com/r/animated-link.json

Source

registry/ruixenui/animated-link.tsxruixen.com/r/animated-link.json
1import * as React from "react";
2
3import { cn } from "@/lib/utils";
4
5type AnimatedLinkVariant = "left" | "right" | "center";
6
7const underlineVariants: Record<AnimatedLinkVariant, string> = {
8 // underline wipes in from the left edge
9 left: "before:origin-right before:scale-x-0 hover:before:origin-left hover:before:scale-x-100",
10 // underline wipes in from the right edge
11 right:
12 "before:origin-left before:scale-x-0 hover:before:origin-right hover:before:scale-x-100",
13 // underline grows outward from the center
14 center: "before:origin-center before:scale-x-0 hover:before:scale-x-100",
15};
16
17export interface AnimatedLinkProps extends React.ComponentPropsWithoutRef<"a"> {
18 /** Direction the underline reveals from on hover. */
19 variant?: AnimatedLinkVariant;
20 /** Show the diagonal arrow that lifts in on hover. */
21 showArrow?: boolean;
22}
23
24const AnimatedLink = ({
25 variant = "left",
26 showArrow = true,
27 className,
28 children,
29 ...props
30}: AnimatedLinkProps) => {
31 return (
32 <a
33 className={cn(
34 "group relative inline-flex w-fit items-center text-foreground",
35 "before:pointer-events-none before:absolute before:left-0 before:top-[1.5em] before:h-[0.05em] before:w-full before:bg-current before:content-['']",
36 "before:transition-transform before:duration-300 before:ease-[cubic-bezier(0.4,0,0.2,1)] motion-reduce:before:transition-none",
37 underlineVariants[variant],
38 className,
39 )}
40 {...props}
41 >
42 {children}
43 {showArrow && (
44 <svg
45 className="ml-[0.3em] size-[0.55em] transition-none"
46 fill="none"
47 viewBox="0 0 10 10"
48 xmlns="http://www.w3.org/2000/svg"
49 aria-hidden="true"
50 >
51 <path
52 d="M1.004 9.166 9.337.833m0 0v8.333m0-8.333H1.004"
53 stroke="currentColor"
54 strokeWidth="1.25"
55 strokeLinecap="round"
56 strokeLinejoin="round"
57 className="[stroke-dasharray:32] [stroke-dashoffset:32] transition-[stroke-dashoffset] duration-300 ease-[cubic-bezier(0.4,0,0.2,1)] group-hover:[stroke-dashoffset:0] motion-reduce:transition-none"
58 />
59 </svg>
60 )}
61 </a>
62 );
63};
64
65export { AnimatedLink };
66export default AnimatedLink;

Files it writes

  • registry/ruixenui/animated-link.tsx

Facts

Registry
ruixen-ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-07
Last confirmed
7 days ago

Go to the source

Docs on ruixen-ui ruixen.com ruixenui/ruixen.com 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