shadcn/ui

Accordion

A vertically stacked set of interactive headings that each reveal a section of content.

Yes. It adheres to the WAI-ARIA design pattern.

Alert

Displays a callout for user attention.

Alert Dialog

A modal dialog that interrupts the user with important content and expects a response.

Aspect Ratio

Displays content within a desired ratio.

Photo by Drew Beamer

Attachment

Displays a file or image attachment, its media, name, and metadata, with optional actions and upload state.

sales-dashboard.pdfPDF · 2.4 MB
workspace.png
workspace.pngPNG · 1.1 MB
research-summary.pdfUploading…

Avatar

An image element with a fallback for representing the user.

CN
CNVCNJ
+3

Badge

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

BadgeSecondaryDestructiveOutlineVerified

Bubble

Displays framed conversational content for chat text, structured output, quoted replies, suggestions, and reactions.

I checked the registry output and removed the stale route.
That fixed the build on my side.
Can you push the change?

Button

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

Button Group

Group multiple buttons together.

Calendar

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

November 2026

Card

Displays a card with header, content, and footer.

Login to your account
Enter your email below to login to your account

Chart

Beautiful charts. Built using Recharts.

Checkbox

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

By clicking this checkbox, you agree to the terms and conditions.

Code Block

Displays code, terminal output, logs and diffs, with a header, line numbers, and highlighted lines.

Terminal
$ pnpm dlx shadcn@latest add button- Checking registry.✔ Checking registry.- Installing dependencies.✔ Installing dependencies.- Updating files.✔ Created 1 file:  - components/ui/button.tsx

Collapsible

An interactive component which expands/collapses a panel.

@peduarte starred 3 repositories

@radix-ui/primitives

Combobox

Autocomplete input and command palette with a list of suggestions.

Command

Fast, composable, unstyled command menu for React.

Command Palette

Search for a command to run...

Context Menu

Displays a menu to the user — such as a set of actions or functions — triggered by a right click.

Right click here

Dark Mode

Add dark mode to your site with next-themes.

Data Table

Advanced data table with sorting, filtering, and pagination.

Status
Amount
success
ken99@example.com
$316.00
success
Abe45@example.com
$242.00
processing
Monserrat44@example.com
$837.00
success
Silas22@example.com
$874.00
failed
carmella@example.com
$721.00
pending
jason@example.com
$450.00
success
emma@example.com
$199.00
0 of 7 row(s) selected.

Date Picker

Date picker component combining input and calendar.

Dialog

A window overlaid on either the primary window or another dialog window, rendering the relevant content.

Direction

Text direction provider for RTL support.

Getting started

This panel follows the current text direction. Switch between LTR and RTL to see the layout mirror.

Drawer

A panel that slides in from the edge of the screen.

Empty

Empty state component for no data scenarios.

No Projects Yet
You haven't created any projects yet. Get started by creating your first project.

Field

Field component for form inputs with labels and error messages.

Payment Method

All transactions are secure and encrypted

Enter your 16-digit card number

Form

Building forms with React Hook Form and Zod.

This is your public display name.

Hover Card

For sighted users to preview content available behind a link.

Input

Displays a form input field or a component that looks like an input field.

Input Group

Input component with prefix and suffix addons.

12 results
https://

Input OTP

One-time password input component.

Enter your one-time password.

Item

Generic item component for lists and menus.

Security Alert

New login from an unknown device in San Francisco.

CN
shadcn

Design engineer at Vercel.

Kbd

Keyboard shortcut display component.

Ctrl+B⌘ShiftEsc

Use Ctrl + B to toggle the sidebar.

Label

Form label component.

Marker

Displays inline conversation markers such as status updates, system notes, bordered rows, and labeled separators.

Explored 4 files
Opened implementation notes
Today
Compacting conversation

Message

Lays out a single message in a conversation, with its avatar, alignment, header, and footer.

CN
shadcn
How can I help you today?
Delivered
Show me a demo of every component.
Seen

Message Scroller

A chat transcript scroller that preserves the reader's place while the conversation keeps changing.

Can you summarize this thread?
Of course. Here is the short version.
And keep my place while I read.
That is what the scroller is for. It follows only while you follow.
What if I scroll up?
Then it leaves you there and shows a button to jump back to the latest reply.

Native Select

Styled native HTML select element.

Pagination

Pagination component for lists and tables.

Popover

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

Progress

Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

x

Questionnaire

An ordered set of questions with choices, progress, validation, and navigation.

Question 1 of 2
What should we prototype next?

Choose a direction or write your own.

Radio Group

A set of checkable buttons — known as radio buttons — where no more than one of the buttons can be checked at a time.

Resizable

Accessible resizable panel groups and layouts with keyboard support.

One
Two
Three

Scroll Area

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

Select

Displays a list of options for the user to pick from — triggered by a button.

Separator

Visually or semantically separates content.

Radix Primitives

An open-source UI component library.

Blog
Docs
Source

Sheet

Extends the Dialog component to display content that complements the main content of the screen.

Skeleton

Use to show a placeholder while content is loading.

Slider

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

Value: 33

Sonner

An opinionated toast component for React.

Spinner

Loading spinner component.

Syncing

Switch

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

Airplane Mode is off.

Table

A responsive table component.

A list of your recent invoices.
InvoiceStatusMethodAmount
INV001PaidCredit Card$250.00
INV002PendingPayPal$150.00
INV003UnpaidBank Transfer$350.00
Total$750.00

Tabs

A set of layered sections of content — known as tab panels — that are displayed one at a time.

Account

Textarea

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

Toast

A succinct message that is displayed temporarily.

Toggle

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

Toggle Group

A set of two-state buttons that can be toggled on or off.

Tooltip

A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.

Trace

A list of lines for steps like reasoning, tool calls, sources and plans, each with an icon, a title, and an optional description and status.

Searched for minimumReleaseAge
Running pnpm build12sFailed to run pnpm lintRun pnpm test

Transition

A view switch using the built-in transition timing of the components, with staggered delays.

Button

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

Dialog

A window overlaid on the primary window.

Tabs

Layered sections of content, shown one at a time.

Sheet

Content that complements the main content of the screen.

Typography

Styles for headings, paragraphs, lists and other elements.

The Joke Tax Chronicles

Once upon a time, in a far-off land, there was a very lazy king who spent all day lounging on his throne. One day, his advisors came to him with a problem: the kingdom was running out of money.

The King's Plan

The king thought long and hard, and finally came up with a brilliant plan: he would tax the jokes in the kingdom.

"After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the privilege."

The Joke Tax

The king's subjects were not amused. They grumbled and complained, but the king was firm:

  • 1st level of puns: 5 gold coins
  • 2nd level of jokes: 10 gold coins
  • 3rd level of one-liners : 20 gold coins

Install the package with pnpm add @shadcn/react and start building.

The king is watching. Pay your joke tax on time.