sh4dcnv2 · atlas
← libraries

@d2

Ultra modern monospace component library for React and Tailwind CSS v4 — AI cards, bento grids, dashboards, hero sections and animated pixel spinners.

101 components pro available react shadcn-cli MIT

Install this registry

shadcn (npm) npx shadcn@latest add https://ui.d2studio.dev/r/registry.json
pnpm pnpm dlx shadcn@latest add https://ui.d2studio.dev/r/registry.json
bun bunx shadcn@latest add https://ui.d2studio.dev/r/registry.json
fetch registry curl -s https://ui.d2studio.dev/r/registry.json

Components

101 total
AI Block ui

AI prompt template grid with creative prompts, summarizer, story, poetry and study presets.

npx shadcn@latest add https://ui.d2studio.dev/r/ai-block.json
AI Content Creator Card v2 ui

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
AI Content Creator Card ui

Pro version content creation card

npx shadcn@latest add https://ui.d2studio.dev/r/ai-content-creator-card.json
Dashboard 01 ui

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 01 ui

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
Siri Prompt Input ui

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
Top GitHub Repos component

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
Hero 01 ui

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
Product Card component

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
Pricing Cards component

Responsive three-tier pricing cards with feature comparison and popular plan highlighting

npx shadcn@latest add https://ui.d2studio.dev/r/pricing-01.json
Hero Section 01 component

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
Hero Section 02 component

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 component

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
Block 01 component

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
Notification Bento component

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
Bento 02 component

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
Bento 03 component

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
Bento 04 component

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
Bento 05 component

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
Metallic Shimmer component

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
Progress Bar component

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
Matte Button component

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
Accordion ui

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
Alert ui

Displays a callout for user attention.

npx shadcn@latest add https://ui.d2studio.dev/r/alert.json
Alert Dialog ui

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
Aspect Ratio ui

Displays content within a desired ratio.

npx shadcn@latest add https://ui.d2studio.dev/r/aspect-ratio.json
Attachment ui

A file attachment chip with a preview, name, size and a remove action.

npx shadcn@latest add https://ui.d2studio.dev/r/attachment.json
Avatar ui

An image element with a fallback for representing the user.

npx shadcn@latest add https://ui.d2studio.dev/r/avatar.json
Badge ui

Displays a badge or a component that looks like a badge.

npx shadcn@latest add https://ui.d2studio.dev/r/badge.json
Breadcrumb ui

Displays the path to the current resource using a hierarchy of links.

npx shadcn@latest add https://ui.d2studio.dev/r/breadcrumb.json
Bubble ui

A chat message bubble that aligns and colours itself by sender.

npx shadcn@latest add https://ui.d2studio.dev/r/bubble.json
Button ui

Displays a button or a component that looks like a button.

npx shadcn@latest add https://ui.d2studio.dev/r/button.json
Button Group ui

A container that groups related buttons together with consistent styling.

npx shadcn@latest add https://ui.d2studio.dev/r/button-group.json
Calendar ui

A date field component that allows users to enter and edit a date.

npx shadcn@latest add https://ui.d2studio.dev/r/calendar.json
Card ui

Displays a card with header, content, and footer.

npx shadcn@latest add https://ui.d2studio.dev/r/card.json
Carousel ui

A carousel with motion and swipe built using Embla.

npx shadcn@latest add https://ui.d2studio.dev/r/carousel.json
Chart ui

Beautiful charts built using Recharts, themed from CSS variables.

npx shadcn@latest add https://ui.d2studio.dev/r/chart.json
Checkbox ui

A control that allows the user to toggle between checked and not checked.

npx shadcn@latest add https://ui.d2studio.dev/r/checkbox.json
Collapsible ui

An interactive component which expands and collapses a panel.

npx shadcn@latest add https://ui.d2studio.dev/r/collapsible.json
Combobox ui

Autocomplete input and command palette with a list of suggestions.

npx shadcn@latest add https://ui.d2studio.dev/r/combobox.json
Command ui

Fast, composable, unstyled command menu for React.

npx shadcn@latest add https://ui.d2studio.dev/r/command.json
Context Menu ui

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
Dialog ui

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
Direction ui

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
Drawer ui

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
Dropdown Menu ui

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
Empty ui

Use the Empty component to display an empty state.

npx shadcn@latest add https://ui.d2studio.dev/r/empty.json
Field ui

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
Form ui

Building forms with React Hook Form and Zod.

npx shadcn@latest add https://ui.d2studio.dev/r/form.json
Hover Card ui

For sighted users to preview content available behind a link.

npx shadcn@latest add https://ui.d2studio.dev/r/hover-card.json
Input ui

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
Input Group ui

Add addons, buttons and helper content to inputs.

npx shadcn@latest add https://ui.d2studio.dev/r/input-group.json
Input OTP ui

Accessible one-time password component with copy paste functionality.

npx shadcn@latest add https://ui.d2studio.dev/r/input-otp.json
Item ui

A versatile component to display any content: media, title, description and actions.

npx shadcn@latest add https://ui.d2studio.dev/r/item.json
Kbd ui

Used to display textual user input from a keyboard.

npx shadcn@latest add https://ui.d2studio.dev/r/kbd.json
Label ui

Renders an accessible label associated with controls.

npx shadcn@latest add https://ui.d2studio.dev/r/label.json
Marker ui

A small inline marker for flagging state, such as unread, new or pinned.

npx shadcn@latest add https://ui.d2studio.dev/r/marker.json
Menubar ui

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
Message ui

A chat message row: avatar, author, timestamp and content.

npx shadcn@latest add https://ui.d2studio.dev/r/message.json
Message Scroller ui

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
Native Select ui

A styled native HTML select element with consistent design system integration.

npx shadcn@latest add https://ui.d2studio.dev/r/native-select.json
Navigation Menu ui

A collection of links for navigating websites.

npx shadcn@latest add https://ui.d2studio.dev/r/navigation-menu.json
Pagination ui

Pagination with page navigation, next and previous links.

npx shadcn@latest add https://ui.d2studio.dev/r/pagination.json
Popover ui

Displays rich content in a portal, triggered by a button.

npx shadcn@latest add https://ui.d2studio.dev/r/popover.json
Progress ui

Displays an indicator showing the completion progress of a task.

npx shadcn@latest add https://ui.d2studio.dev/r/progress.json
Radio Group ui

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
Resizable ui

Accessible resizable panel groups and layouts with keyboard support.

npx shadcn@latest add https://ui.d2studio.dev/r/resizable.json
Scroll Area ui

Augments native scroll functionality for custom, cross-browser styling.

npx shadcn@latest add https://ui.d2studio.dev/r/scroll-area.json
Select ui

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
Separator ui

Visually or semantically separates content.

npx shadcn@latest add https://ui.d2studio.dev/r/separator.json
Sheet ui

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
Sidebar ui

A composable, themeable and customizable sidebar component.

npx shadcn@latest add https://ui.d2studio.dev/r/sidebar.json
Skeleton ui

Use to show a placeholder while content is loading.

npx shadcn@latest add https://ui.d2studio.dev/r/skeleton.json
Slider ui

An input where the user selects a value from within a given range.

npx shadcn@latest add https://ui.d2studio.dev/r/slider.json
Sonner ui

An opinionated toast component for React.

npx shadcn@latest add https://ui.d2studio.dev/r/sonner.json
Spinner ui

An indicator that can be used to show a loading state.

npx shadcn@latest add https://ui.d2studio.dev/r/spinner.json
Switch ui

A control that allows the user to toggle between checked and not checked.

npx shadcn@latest add https://ui.d2studio.dev/r/switch.json
Table ui

A responsive table component.

npx shadcn@latest add https://ui.d2studio.dev/r/table.json
Tabs ui

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
Textarea ui

Displays a form textarea or a component that looks like a textarea.

npx shadcn@latest add https://ui.d2studio.dev/r/textarea.json
Toggle ui

A two-state button that can be either on or off.

npx shadcn@latest add https://ui.d2studio.dev/r/toggle.json
Toggle Group ui

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
Tooltip ui

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
Use Mobile hook

A hook that reports whether the viewport is below the mobile breakpoint.

npx shadcn@latest add https://ui.d2studio.dev/r/use-mobile.json
D2 Card ui

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
Pixel Spinner ui

The pixel-grid spinner engine every spinner preset builds on.

npx shadcn@latest add https://ui.d2studio.dev/r/pixel-spinner.json
Power Chip component

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
RAW Chip component

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
Moon Tile component

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
Moon Window component

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
Moon Card component

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
Spinner Spiral In 5 component

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
Spinner Ring 4 Cw component

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
Spinner Dual Ring 5 component

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
Spinner Vortex In component

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
Spinner Col Wave 5 component

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
Spinner Swell Roll component

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
Spinner Rain 4 component

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
Spinner Tide Roll component

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
Spinner Billboard Tiles component

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
Spinner Ripple Out component

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