BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/jolyui/ui/animated-beam-curved-demo

animated-beam-curved-demo

jolyui-ui/animated-beam-curved-demo
FreeExample

jolyui/ui publishes no description for this item.

Live preview

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

Install it

npx shadcn@latest add https://jolyui.dev/r/animated-beam-curved-demo.json

Source

examples/animated-beam-curved-demo.tsxjolyui.dev/r/animated-beam-curved-demo.json
1import { Cloud, Laptop, ShieldCheck } from "lucide-react";
2import React from "react";
3import {
4 AnimatedBeam,
5 BeamContainer,
6 BeamNode,
7} from "@/registry/default/ui/animated-beam";
8
9export default function AnimatedBeamCurvedDemo() {
10 const containerRef = React.useRef<HTMLDivElement>(null);
11 const laptopRef = React.useRef<HTMLDivElement>(null);
12 const shieldRef = React.useRef<HTMLDivElement>(null);
13 const cloudRef = React.useRef<HTMLDivElement>(null);
14
15 return (
16 <BeamContainer
17 ref={containerRef}
18 className="mx-auto flex w-full items-center justify-between rounded-xl border bg-background p-10 shadow-sm"
19 >
20 <div className="flex flex-col items-center gap-2">
21 <BeamNode
22 ref={laptopRef}
23 className="h-12 w-12 border-2 border-blue-500/20 bg-blue-500/10"
24 >
25 <Laptop className="h-6 w-6 text-blue-600" />
26 </BeamNode>
27 <span className="font-medium text-[10px] text-muted-foreground uppercase tracking-wider">
28 Local
29 </span>
30 </div>
31
32 <div className="flex flex-col items-center gap-2">
33 <BeamNode
34 ref={shieldRef}
35 className="h-14 w-14 border-2 border-emerald-500/20 bg-emerald-500/10"
36 >
37 <ShieldCheck className="h-7 w-7 text-emerald-600" />
38 </BeamNode>
39 <span className="font-medium text-[10px] text-muted-foreground uppercase tracking-wider">
40 Encrypt
41 </span>
42 </div>
43
44 <div className="flex flex-col items-center gap-2">
45 <BeamNode
46 ref={cloudRef}
47 className="h-12 w-12 border-2 border-sky-500/20 bg-sky-500/10"
48 >
49 <Cloud className="h-6 w-6 text-sky-600" />
50 </BeamNode>
51 <span className="font-medium text-[10px] text-muted-foreground uppercase tracking-wider">
52 Cloud
53 </span>
54 </div>
55
56 <AnimatedBeam
57 containerRef={containerRef}
58 fromRef={laptopRef}
59 toRef={shieldRef}
60 duration={3}
61 curvature={0.4}
62 gradientStartColor="#3b82f6"
63 gradientStopColor="#10b981"
64 />
65 <AnimatedBeam
66 containerRef={containerRef}
67 fromRef={shieldRef}
68 toRef={cloudRef}
69 duration={3}
70 delay={0.5}
71 curvature={-0.4}
72 gradientStartColor="#10b981"
73 gradientStopColor="#0ea5e9"
74 />
75 </BeamContainer>
76 );
77}

What it pulls in

npm packages

  • lucide-react

Other registry items

  • animated-beam

Files it writes

  • examples/animated-beam-curved-demo.tsx

Facts

Registry
jolyui/ui
Type
registry:example
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-02
Last confirmed
today

Go to the source

Docs on jolyui/ui jolyui.dev Johuniq/jolyui on GitHub Raw registry item This item as JSON

More from jolyui/ui

All 199 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
ai-prompt-box-demoai-prompt-box-demojolyui/uiExamplesFreeno deps
ai-prompt-box-loading-demoai-prompt-box-loading-demojolyui/uiExamplesFreeno deps
animated-beam-bidirectional-demoanimated-beam-bidirectional-demojolyui/uiExamplesFree1 dep
animated-beam-demoanimated-beam-demojolyui/uiExamplesFree1 dep
animated-beam-multiple-demoanimated-beam-multiple-demojolyui/uiExamplesFree1 dep
animated-table-basic-demoanimated-table-basic-demojolyui/uiExamplesFreeno deps
animated-table-column-demoanimated-table-column-demojolyui/uiExamplesFreeno deps
animated-table-expand-demoanimated-table-expand-demojolyui/uiExamplesFreeno deps
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex