BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/fancy/elastic-line-demo

Elastic Line Demo

fancy/elastic-line-demo
FreeBlock

A block component.

Install it

npx shadcn@latest add https://www.fancycomponents.dev/r/elastic-line-demo.json

Source

examples/physics/elastic-line-demo.tsxwww.fancycomponents.dev/r/elastic-line-demo.json
1"use client"
2
3import { motion, Variants } from "motion/react"
4
5import ElasticLine from "@/components/fancy/physics/elastic-line"
6
7export default function Preview() {
8 const textVariants = {
9 hidden: { opacity: 0, y: 10 },
10 visible: (i: number) => ({
11 opacity: 1,
12 y: 0,
13 transition: {
14 delay: i * 0.3,
15 type: "spring",
16 stiffness: 300,
17 damping: 30,
18 },
19 }),
20 }
21
22 return (
23 <div className="w-dvw h-dvh flex flex-row items-center justify-center font-overused-grotesk overflow-hidden bg-white text-foreground dark:text-muted">
24 <div className="absolute left-0 top-0 w-full h-full px-6 sm:px-8 md:px-12 z-10">
25 {/* Animated elastic line */}
26 <ElasticLine
27 releaseThreshold={50}
28 strokeWidth={1}
29 animateInTransition={{
30 type: "spring",
31 stiffness: 300,
32 damping: 30,
33 delay: 0.15,
34 }}
35 />
36 </div>
37
38 {/* This is just fluff for the demo */}
39 <div className="h-full flex flex-col py-6 w-full px-6 sm:px-8 md:px-12 font-light">
40 <div className="h-1/2 py-8 w-full items-end flex">
41 <motion.p
42 variants={textVariants as Variants}
43 initial="hidden"
44 animate="visible"
45 className="uppercase text-4xl sm:text-5xl md:text-6xl font-medium"
46 custom={0}
47 >
48 FANCY COMPONENTS
49 </motion.p>
50 </div>
51 <div className="flex flex-row pt-8 justify-between items-start gap-x-4">
52 <motion.p
53 variants={textVariants as Variants}
54 initial="hidden"
55 animate="visible"
56 className="w-1/3 uppercase md:text-7xl hidden md:block text-orange-500"
57 custom={0}
58 >
59 ✽
60 </motion.p>
61 <motion.p
62 variants={textVariants as Variants}
63 initial="hidden"
64 animate="visible"
65 className="w-full md:w-2/3 sm:text-left text-base sm:text-xl md:text-2xl"
66 custom={1}
67 >
68 Ready to use, fancy, animated React components & microinteractions
69 for creative developers.
70 </motion.p>
71 </div>
72
73 {/* <div className="h-1/3 flex items-center justify-end">
74 <motion.p
75 variants={textVariants}
76 initial="hidden"
77 animate="visible"
78 custom={2}
79 >
80
81 </motion.p>
82// … truncated

What it pulls in

npm packages

  • motion

Other registry items

  • fancy/physics/elastic-line

Files it writes

  • examples/physics/elastic-line-demo

Facts

Registry
fancy
Type
registry:block
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-13
Last confirmed
today

Go to the source

www.fancycomponents.dev danielpetho/fancy on GitHub Raw registry item This item as JSON

More from fancy

All 158 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Animated Gradient Demoanimated-gradient-demofancyBlocksFreeno deps
Basic Number Ticker Demobasic-number-ticker-demofancyBlocksFreeno deps
Box Carousel Autoplay Demobox-carousel-autoplay-demofancyBlocksFree1 dep
Box Carousel Demobox-carousel-demofancyBlocksFree1 dep
Box Carousel Video Demobox-carousel-video-demofancyBlocksFree1 dep
Breathing Text Demobreathing-text-demofancyBlocksFreeno deps
Circling Elements Democircling-elements-demofancyBlocksFreeno deps
Circling Elements Easing Democircling-elements-easing-demofancyBlocksFreeno deps

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