BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn/ui/3d-layered-card-demo

3D Layered Card Demo

nyxui/3d-layered-card-demo
FreeExample

Example showing a 3D layered card.

Live preview

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

Install it

npx shadcn@latest add https://nyxui.com/r/3d-layered-card-demo.json

Source

registry/example/3d-layered-card-demo.tsxnyxui.com/r/3d-layered-card-demo.json · first 6 KB
1import { Badge } from "@/components/ui/badge";
2import { Clock } from "lucide-react";
3import ThreeDLayeredCard from "../ui/3d-layered-card";
4
5function ThreeDLayeredCardDemo() {
6 return (
7 <div className="flex items-center justify-center relative z-1 max-w-4xl mx-auto overflow-hidden">
8 <div className="overflow-hidden flex flex-col items-center justify-center gap-3 relative py-24 px-4">
9 <div className="flex flex-col md:flex-row gap-3">
10 <ThreeDLayeredCard
11 logo="/assets/images/3d-layered-card/snaplogo.svg"
12 logoSize={32}
13 mainImage="/assets/images/3d-layered-card/snap.png"
14 borderColor="#ffffff"
15 borderWidth="1px"
16 title="Snapchat"
17 backgroundColor="bg-gradient-to-b from-[#FF9901] via-[#FF9901] to-[#9b600b]"
18 shineIntensity={0.6}
19 >
20 <div className="flex flex-col items-center justify-center gap-1 px-4">
21 <Badge
22 variant="secondary"
23 className="bg-yellow-900/40 backdrop-blur-3xl text-gray-200 border-yellow-500/30 py-[1px] relative"
24 >
25 REVENUE
26 </Badge>
27 <h1 className="text-white text-[17px] font-semibold tracking-wide leading-tight text-center max-w-sm">
28 The addictive habbit of sending snaps.
29 </h1>
30 <div className="flex items-center justify-center gap-2">
31 <Clock className="h-2.5 w-2.5 text-gray-100" />
32 <span className="text-gray-100 text-xs">4 min</span>
33 </div>
34 </div>
35 </ThreeDLayeredCard>
36
37 <ThreeDLayeredCard
38 logo="/assets/images/3d-layered-card/macdlogo.svg"
39 logoSize={44}
40 mainImage="/assets/images/3d-layered-card/macd.png"
41 borderColor="#ffffff"
42 borderWidth="1px"
43 title="McDonald's"
44 backgroundColor="bg-gradient-to-b from-red-600 to-red-500"
45 shineIntensity={0.6}
46 >
47 <div className="flex flex-col items-center justify-center gap-1 px-4">
48 <Badge
49 variant="secondary"
50 className="bg-yellow-900/40 backdrop-blur-3xl text-gray-200 border-yellow-500/30 py-[1px] relative"
51 >
52 ONBOARDING
53 </Badge>
54 <h1 className="text-white text-[17px] font-semibold tracking-wide leading-tight text-center max-w-sm">
55// … truncated

What it pulls in

Other registry items

  • https://nyxui.com/r/3d-layered-card.json

Files it writes

  • registry/example/3d-layered-card-demo.tsx

Facts

Registry
shadcn/ui
Type
registry:example
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

Docs on shadcn/ui nyxui.com MihirJaiswal/nyxui on GitHub Raw registry item This item as JSON

More from shadcn/ui

All 68 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Animated Code Block Demoanimated-code-block-demoshadcn/uiExamplesFreeno deps
Animated Grainy Background Demoanimated-grainy-bg-demoshadcn/uiExamplesFreeno deps
Animated Text Demoanimated-text-demoshadcn/uiExamplesFreeno deps
Apple Glass Effect Demoapple-glass-effect-demoshadcn/uiExamplesFreeno deps
Bubble Background Demobubble-background-demoshadcn/uiExamplesFreeno deps
Custom Cursor Democustom-cursor-demoshadcn/uiExamplesFreeno deps
Cyberpunk Card Democyberpunk-card-demoshadcn/uiExamplesFreeno deps
Cyberpunk Card Demo 1cyberpunk-card-demo1shadcn/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