@d2
Ultra modern monospace component library for React and Tailwind CSS v4 — AI cards, bento grids, dashboards, hero sections and animated pixel spinners.
Install this registry
npx shadcn@latest add https://ui.d2studio.dev/r/registry.json pnpm dlx shadcn@latest add https://ui.d2studio.dev/r/registry.json bunx shadcn@latest add https://ui.d2studio.dev/r/registry.json curl -s https://ui.d2studio.dev/r/registry.json Components
40 totalAI prompt template grid with creative prompts, summarizer, story, poetry and study presets.
npx shadcn@latest add https://ui.d2studio.dev/r/ai-block.json Glassmorphic AI content generator card with content type and tone pickers and a prompt field.
npx shadcn@latest add https://ui.d2studio.dev/r/ai-content-creator-card-v2.json Pro version content creation card
npx shadcn@latest add https://ui.d2studio.dev/r/ai-content-creator-card.json Hotel booking dashboard with guest and vacancy stats, booking search and a check-in and check-out table.
npx shadcn@latest add https://ui.d2studio.dev/r/dashboard-01.json Bento grid for an education program platform with admin overview, faculty view and a program form.
npx shadcn@latest add https://ui.d2studio.dev/r/bento-01.json Tabbed AI prompt input with assistant, blog and pro modes plus file upload.
npx shadcn@latest add https://ui.d2studio.dev/r/ai-v2.json Startup mentorship landing hero with a headline, call to action and mentor avatar group.
npx shadcn@latest add https://ui.d2studio.dev/r/hero-01.json Displays a form input field or a component that looks like an input field.
npx shadcn@latest add https://ui.d2studio.dev/r/input.json Renders an accessible label associated with controls.
npx shadcn@latest add https://ui.d2studio.dev/r/label.json Displays a card with header, content, and footer.
npx shadcn@latest add https://ui.d2studio.dev/r/card.json Displays a list of options for the user to pick from—triggered by a button.
npx shadcn@latest add https://ui.d2studio.dev/r/select.json A control that allows the user to toggle between checked and not checked.
npx shadcn@latest add https://ui.d2studio.dev/r/checkbox.json Displays an indicator showing the completion progress of a task.
npx shadcn@latest add https://ui.d2studio.dev/r/progress.json Displays a callout for user attention.
npx shadcn@latest add https://ui.d2studio.dev/r/alert.json A drawer component that slides in from the bottom or sides of the screen.
npx shadcn@latest add https://ui.d2studio.dev/r/drawer.json Responsive three-tier pricing cards with feature comparison and popular plan highlighting
npx shadcn@latest add https://ui.d2studio.dev/r/pricing-01.json Premium landing page hero with a serif accent headline, badge and mentor avatar group.
npx shadcn@latest add https://ui.d2studio.dev/r/hero-section-01.json Modern landing page hero section with badge, headline and avatar social proof.
npx shadcn@latest add https://ui.d2studio.dev/r/hero-section-02.json AI writing assistant panel with assistant, blog and pro modes and a prompt field.
npx shadcn@latest add https://ui.d2studio.dev/r/ai-writing-assistance.json AI feature showcase with smart summarizer, creative prompts, document analysis and engagement metrics cards.
npx shadcn@latest add https://ui.d2studio.dev/r/block-01.json A four-panel notification bento: a pure-CSS metallic bell on a lit dot-matrix field, recent activity feed, unread counter and delivery-channel toggles, with dr…
npx shadcn@latest add https://ui.d2studio.dev/r/notification-bento.json A five-card feature bento with metallic-gradient glyphs on lifting icon tiles, a dot-matrix texture and color-dodged glow revealed on hover, and a holographic …
npx shadcn@latest add https://ui.d2studio.dev/r/bento-02.json A flat 3×2 feature grid on thin edge-masked rules — no cards, no fills. Each cell pairs a recessed keycap icon tile with a sans-serif title and monospace descr…
npx shadcn@latest add https://ui.d2studio.dev/r/bento-03.json A four-card services bento on marching dashed blueprint frames. Hover blooms each card's icon from blue to the D2 holographic gradient, scrambles the Clean Cod…
npx shadcn@latest add https://ui.d2studio.dev/r/bento-04.json A four-card studio bento on a masked dot field. Each card is a Figma gradient export carrying its own glass fill and 16px border; an ambilight sampled from the…
npx shadcn@latest add https://ui.d2studio.dev/r/bento-05.json Brushed-metal text: a bright band travels across the glyphs like a reflection, not a glow. Wraps any inline content, flips its stops per theme, and holds still…
npx shadcn@latest add https://ui.d2studio.dev/r/metallic-shimmer.json A frosted-glass progress pill with technical-drawing leader lines bracketing a monospace readout. Three levels of chrome — full, bar, plain — and two fill styl…
npx shadcn@latest add https://ui.d2studio.dev/r/progress-bar.json A matte chip button with a holographic rim: three blurred glows pinned under the top edge, a bounce light along the bottom, and a gradient-clipped label and ma…
npx shadcn@latest add https://ui.d2studio.dev/r/button-matt.json The card surface pricing-01 is built on: header, content, footer and a title/description pair.
npx shadcn@latest add https://ui.d2studio.dev/r/d2-card.json The pixel-grid spinner engine every spinner preset builds on.
npx shadcn@latest add https://ui.d2studio.dev/r/pixel-spinner.json A 5×5 pixel-grid loading spinner: 25 frames at 75ms (1875ms loop).
npx shadcn@latest add https://ui.d2studio.dev/r/spinner-spiral-in-5.json A 4×4 pixel-grid loading spinner: 12 frames at 110ms (1320ms loop).
npx shadcn@latest add https://ui.d2studio.dev/r/spinner-ring-4-cw.json A 5×5 pixel-grid loading spinner: 16 frames at 110ms (1760ms loop).
npx shadcn@latest add https://ui.d2studio.dev/r/spinner-dual-ring-5.json A 4×4 pixel-grid loading spinner: 16 frames at 90ms (1440ms loop).
npx shadcn@latest add https://ui.d2studio.dev/r/spinner-vortex-in.json A 5×5 pixel-grid loading spinner: 8 frames at 120ms (960ms loop).
npx shadcn@latest add https://ui.d2studio.dev/r/spinner-col-wave-5.json A 4×4 pixel-grid loading spinner: 4 frames at 160ms (640ms loop).
npx shadcn@latest add https://ui.d2studio.dev/r/spinner-swell-roll.json A 4×4 pixel-grid loading spinner: 4 frames at 180ms (720ms loop).
npx shadcn@latest add https://ui.d2studio.dev/r/spinner-rain-4.json A 4×4 pixel-grid loading spinner: 6 frames at 180ms (1080ms loop).
npx shadcn@latest add https://ui.d2studio.dev/r/spinner-tide-roll.json A 4×4 pixel-grid loading spinner: 5 frames at 180ms (900ms loop).
npx shadcn@latest add https://ui.d2studio.dev/r/spinner-billboard-tiles.json A 3×3 pixel-grid loading spinner: 3 frames at 260ms (780ms loop).
npx shadcn@latest add https://ui.d2studio.dev/r/spinner-ripple-out.json