@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
101 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 A responsive grid of GitHub repositories with language, stars and forks — pass your own list or leave the sample rows in.
npx shadcn@latest add https://ui.d2studio.dev/r/github-repos.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 E-commerce product card on the D2 card primitive: colour swatches that cross-fade the photo, a wishlist heart that swaps with a blur, a derived sale badge and …
npx shadcn@latest add https://ui.d2studio.dev/r/card-ecommerce-01.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 A vertically stacked set of interactive headings that each reveal a section of content.
npx shadcn@latest add https://ui.d2studio.dev/r/accordion.json Displays a callout for user attention.
npx shadcn@latest add https://ui.d2studio.dev/r/alert.json A modal dialog that interrupts the user with important content and expects a response.
npx shadcn@latest add https://ui.d2studio.dev/r/alert-dialog.json Displays content within a desired ratio.
npx shadcn@latest add https://ui.d2studio.dev/r/aspect-ratio.json A file attachment chip with a preview, name, size and a remove action.
npx shadcn@latest add https://ui.d2studio.dev/r/attachment.json An image element with a fallback for representing the user.
npx shadcn@latest add https://ui.d2studio.dev/r/avatar.json Displays a badge or a component that looks like a badge.
npx shadcn@latest add https://ui.d2studio.dev/r/badge.json Displays the path to the current resource using a hierarchy of links.
npx shadcn@latest add https://ui.d2studio.dev/r/breadcrumb.json A chat message bubble that aligns and colours itself by sender.
npx shadcn@latest add https://ui.d2studio.dev/r/bubble.json Displays a button or a component that looks like a button.
npx shadcn@latest add https://ui.d2studio.dev/r/button.json A container that groups related buttons together with consistent styling.
npx shadcn@latest add https://ui.d2studio.dev/r/button-group.json A date field component that allows users to enter and edit a date.
npx shadcn@latest add https://ui.d2studio.dev/r/calendar.json Displays a card with header, content, and footer.
npx shadcn@latest add https://ui.d2studio.dev/r/card.json A carousel with motion and swipe built using Embla.
npx shadcn@latest add https://ui.d2studio.dev/r/carousel.json Beautiful charts built using Recharts, themed from CSS variables.
npx shadcn@latest add https://ui.d2studio.dev/r/chart.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 An interactive component which expands and collapses a panel.
npx shadcn@latest add https://ui.d2studio.dev/r/collapsible.json Autocomplete input and command palette with a list of suggestions.
npx shadcn@latest add https://ui.d2studio.dev/r/combobox.json Fast, composable, unstyled command menu for React.
npx shadcn@latest add https://ui.d2studio.dev/r/command.json Displays a menu to the user, such as a set of actions or functions, triggered by a right click.
npx shadcn@latest add https://ui.d2studio.dev/r/context-menu.json A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.
npx shadcn@latest add https://ui.d2studio.dev/r/dialog.json A provider that sets the reading direction, left-to-right or right-to-left, for the components beneath it.
npx shadcn@latest add https://ui.d2studio.dev/r/direction.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 Displays a menu to the user, such as a set of actions or functions, triggered by a button.
npx shadcn@latest add https://ui.d2studio.dev/r/dropdown-menu.json Use the Empty component to display an empty state.
npx shadcn@latest add https://ui.d2studio.dev/r/empty.json Combine labels, controls, and help text to compose accessible form fields and grouped inputs.
npx shadcn@latest add https://ui.d2studio.dev/r/field.json Building forms with React Hook Form and Zod.
npx shadcn@latest add https://ui.d2studio.dev/r/form.json For sighted users to preview content available behind a link.
npx shadcn@latest add https://ui.d2studio.dev/r/hover-card.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 Add addons, buttons and helper content to inputs.
npx shadcn@latest add https://ui.d2studio.dev/r/input-group.json Accessible one-time password component with copy paste functionality.
npx shadcn@latest add https://ui.d2studio.dev/r/input-otp.json A versatile component to display any content: media, title, description and actions.
npx shadcn@latest add https://ui.d2studio.dev/r/item.json Used to display textual user input from a keyboard.
npx shadcn@latest add https://ui.d2studio.dev/r/kbd.json Renders an accessible label associated with controls.
npx shadcn@latest add https://ui.d2studio.dev/r/label.json A small inline marker for flagging state, such as unread, new or pinned.
npx shadcn@latest add https://ui.d2studio.dev/r/marker.json A visually persistent menu common in desktop applications that provides quick access to a consistent set of commands.
npx shadcn@latest add https://ui.d2studio.dev/r/menubar.json A chat message row: avatar, author, timestamp and content.
npx shadcn@latest add https://ui.d2studio.dev/r/message.json A chat transcript scroller that sticks to the newest message and offers a jump-to-latest button.
npx shadcn@latest add https://ui.d2studio.dev/r/message-scroller.json A styled native HTML select element with consistent design system integration.
npx shadcn@latest add https://ui.d2studio.dev/r/native-select.json A collection of links for navigating websites.
npx shadcn@latest add https://ui.d2studio.dev/r/navigation-menu.json Pagination with page navigation, next and previous links.
npx shadcn@latest add https://ui.d2studio.dev/r/pagination.json Displays rich content in a portal, triggered by a button.
npx shadcn@latest add https://ui.d2studio.dev/r/popover.json Displays an indicator showing the completion progress of a task.
npx shadcn@latest add https://ui.d2studio.dev/r/progress.json A set of checkable buttons, known as radio buttons, where no more than one can be checked at a time.
npx shadcn@latest add https://ui.d2studio.dev/r/radio-group.json Accessible resizable panel groups and layouts with keyboard support.
npx shadcn@latest add https://ui.d2studio.dev/r/resizable.json Augments native scroll functionality for custom, cross-browser styling.
npx shadcn@latest add https://ui.d2studio.dev/r/scroll-area.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 Visually or semantically separates content.
npx shadcn@latest add https://ui.d2studio.dev/r/separator.json Extends the Dialog component to display content that complements the main content of the screen.
npx shadcn@latest add https://ui.d2studio.dev/r/sheet.json A composable, themeable and customizable sidebar component.
npx shadcn@latest add https://ui.d2studio.dev/r/sidebar.json Use to show a placeholder while content is loading.
npx shadcn@latest add https://ui.d2studio.dev/r/skeleton.json An input where the user selects a value from within a given range.
npx shadcn@latest add https://ui.d2studio.dev/r/slider.json An opinionated toast component for React.
npx shadcn@latest add https://ui.d2studio.dev/r/sonner.json An indicator that can be used to show a loading state.
npx shadcn@latest add https://ui.d2studio.dev/r/spinner.json A control that allows the user to toggle between checked and not checked.
npx shadcn@latest add https://ui.d2studio.dev/r/switch.json A responsive table component.
npx shadcn@latest add https://ui.d2studio.dev/r/table.json A set of layered sections of content, known as tab panels, that are displayed one at a time.
npx shadcn@latest add https://ui.d2studio.dev/r/tabs.json Displays a form textarea or a component that looks like a textarea.
npx shadcn@latest add https://ui.d2studio.dev/r/textarea.json A two-state button that can be either on or off.
npx shadcn@latest add https://ui.d2studio.dev/r/toggle.json A set of two-state buttons that can be toggled on or off.
npx shadcn@latest add https://ui.d2studio.dev/r/toggle-group.json A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
npx shadcn@latest add https://ui.d2studio.dev/r/tooltip.json A hook that reports whether the viewport is below the mobile breakpoint.
npx shadcn@latest add https://ui.d2studio.dev/r/use-mobile.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 An animated SVG illustration: a RAW chip charges and sends power along six wires to the tiles around it. Plain SVG and CSS, light and dark.
npx shadcn@latest add https://ui.d2studio.dev/r/power-chip.json The RAW chip from Power Chip on its own: a static SVG illustration with no dependencies.
npx shadcn@latest add https://ui.d2studio.dev/r/raw-chip.json A night tile: a crescent moon rises over a bank of clouds, then the clouds sway in parallax while a sparkle twinkles and two stars blink. Plays twice once it s…
npx shadcn@latest add https://ui.d2studio.dev/r/moon-tile-01.json A night window: a pale moon rises from behind dark hills in a round pane of stars, then the hills roll like a swell, the stars twinkle in three sets and the ha…
npx shadcn@latest add https://ui.d2studio.dev/r/moon-tile-02.json A tipped night card on dashed layout guides: a crescent moon rises from behind a bank of clouds, then a small cloud drifts across it while the banks sway in pa…
npx shadcn@latest add https://ui.d2studio.dev/r/moon-tile-03.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