BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

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

Shine Border

svelte-animations/shine-border
RemovedBlock

A component that adds a shining animated border effect with customizable colors, duration, and border width.

Install it

npx shadcn@latest add https://sv-animations.vercel.app/r/shine-border.json

Source

./src/lib/components/magic/shine-border/shine-border.sveltesv-animations.vercel.app/r/shine-border.json
1<script lang="ts">
2 import { cn } from "$UTILS$";
3 import type { HTMLAttributes } from "svelte/elements";
4
5 interface Props extends HTMLAttributes<HTMLDivElement> {
6 borderWidth?: number;
7 duration?: number;
8 shineColor?: string | string[];
9 }
10
11 let {
12 borderWidth = 1,
13 duration = 14,
14 shineColor = "#000000",
15 class: className,
16 style,
17 ...restProps
18 }: Props = $props();
19
20 let computedStyle = $derived.by(() => {
21 const shineColorValue = Array.isArray(shineColor) ? shineColor.join(",") : shineColor;
22
23 const baseStyles = `
24 --border-width: ${borderWidth}px;
25 --duration: ${duration}s;
26 background-image: radial-gradient(transparent,transparent, ${shineColorValue},transparent,transparent);
27 background-size: 300% 300%;
28 mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
29 -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
30 -webkit-mask-composite: xor;
31 mask-composite: exclude;
32 padding: var(--border-width);
33 `;
34
35 return style ? `${baseStyles} ${style}` : baseStyles;
36 });
37</script>
38
39<!-- svelte-ignore element_invalid_self_closing_tag -->
40<div
41 style={computedStyle}
42 class={cn(
43 "motion-safe:animate-shine pointer-events-none absolute inset-0 size-full rounded-[inherit] will-change-[background-position]",
44 className
45 )}
46 {...restProps}
47/>

Files it writes

  • ./src/lib/components/magic/shine-border/shine-border.svelte
  • ./src/lib/components/magic/shine-border/index.ts

Facts

Registry
Svelte Animations
Type
registry:block
Access
Free
Files written
2
Theme wiring
ships cssVars
Licence
MIT
In the index
at or before 2026-08-01
Last confirmed
14 days ago

Go to the source

sv-animations.vercel.app SikandarJODD/animations 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