Gradient dots background
Shadcn/ui integration of the verbatim `GradientDots` component — a hue-cycling hexagonal CSS `radial-gradient` dot field looped with framer-motion — dropped into `@/components/ui` and framed as a component lab: a full-bleed live hero (the verbatim demo) with a render-FPS/uptime telemetry strip, a control deck of faders wired straight to the real props (dotSize/spacing/duration/colorCycleDuration + a background colour control) with named presets and a live-usage snippet, a four-step shadcn-CLI integration story explaining the default paths and why `/components/ui` matters, and a props API with the prompt's data/state/assets/responsive/placement Q&A; zero component assets (pure CSS), fonts vendored locally, fully offline.
From prompt to live site
- 01
Copy the prompt
Grab the full prompt — the layout, motion and stack notes your AI needs, with the licence notice.
- 02
Paste into your AI
Drop it into Claude, Cursor or v0 — or straight into your own project.
- 03
Launch it live
Adapt the copy, wire your data, and ship — with the notice kept alongside.
Source and licence
Source: pulkitxm/claude-directory@f3d7e12f34bf
Author: 2026 Pulkit
Entry: components-ui/gradient-dots-background/index.html
MIT License Copyright (c) 2026 Pulkit Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Files (20, plus 5 media)
- .gitignore (50 bytes)
- README.md (3,157 bytes)
- components.json (418 bytes)
- index.html (500 bytes)
- package.json (813 bytes)
- prompt.md (4,179 bytes)
- scripts/verify.mjs (6,364 bytes)
- src/App.tsx (26,308 bytes)
- src/components/lab/CodeBlock.tsx (2,872 bytes)
- src/components/lab/Fader.tsx (2,476 bytes)
- src/components/lab/Primitives.tsx (1,885 bytes)
- src/components/ui/demo.tsx (356 bytes)
- src/components/ui/gradient-dots.tsx (2,437 bytes)
- src/index.css (4,280 bytes)
- src/lib/content.ts (4,323 bytes)
- src/lib/utils.ts (339 bytes)
- src/main.tsx (237 bytes)
- src/vite-env.d.ts (39 bytes)
- tsconfig.json (558 bytes)
- vite.config.ts (396 bytes)
Want the whole library?
Every item's prompt, code and instructions, with a CreativePower subscription.