Bubble Background Demo
nyxui/bubble-background-demoFreeExample
Example showing an interactive fluid background.
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/bubble-background-demo.jsonSource
1import { BubbleBackground } from "../ui/bubble-background";23export const BubblesBackgroundDemo = () => {4 return (5 <div className="h-[550px] overflow-hidden rounded-lg">6 <div className="absolute inset-0 overflow-hidden rounded-lg">7 <BubbleBackground8 bgColorA="rgb(30, 0, 60)"9 bgColorB="rgb(0, 30, 90)"10 bubbleColors={{11 colorA: "50, 150, 255",12 colorB: "200, 80, 255",13 colorC: "120, 240, 255",14 colorD: "220, 60, 80",15 colorE: "200, 200, 80",16 interactive: "160, 120, 255",17 }}18 bubbleSize="70%"19 blendMode="screen"20 />21 </div>22 </div>23 );24};
What it pulls in
Other registry items
Files it writes
More from shadcn/ui
All 68 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| 3D Layered Card Demo3d-layered-card-demo | shadcn/ui | Examples | Free | no deps | |
| Animated Code Block Demoanimated-code-block-demo | shadcn/ui | Examples | Free | no deps | |
| Animated Grainy Background Demoanimated-grainy-bg-demo | shadcn/ui | Examples | Free | no deps | |
| Animated Text Demoanimated-text-demo | shadcn/ui | Examples | Free | no deps | |
| Apple Glass Effect Demoapple-glass-effect-demo | shadcn/ui | Examples | Free | no deps | |
| Custom Cursor Democustom-cursor-demo | shadcn/ui | Examples | Free | no deps | |
| Cyberpunk Card Democyberpunk-card-demo | shadcn/ui | Examples | Free | no deps | |
| Cyberpunk Card Demo 1cyberpunk-card-demo1 | shadcn/ui | Examples | Free | no deps |
