Components
518 components in 50 categories. Every one installs with the shadcn CLI.
Dialogs and Popovers 10
Layers over the page: dialogs, sheets, drawers, popovers, tooltips.
- DialogA window over the page for one task, such as a short form or a detail view. The page behind waits until people close it.
- PopoverA panel that opens from a button and stays until people close it. It holds content they can use, such as a share link, filters, or a short form.
- Alert DialogA window that asks a yes or no question before an action that deletes data or cannot be undone. The page waits until the person answers.
- Hover CardA card that opens when people point at a link or tab to it. It shows a preview, such as a profile or a page, so they need not leave.
- DrawerA panel that slides in from an edge of the screen. People drag it with a finger to open or close it, as a bottom sheet or a side panel.
- TooltipA short label that shows when people point at a control or tab to it, such as the name of an icon button. It can have an arrow.
- Floating PanelA small window over the page that people can move, resize, fold to its header, or make full size. On phones it opens as a bottom sheet.
- Link PreviewA link shown as a card with the page title, picture, and site name, so people see where it goes. It comes as a card, a compact row, a chip, or a hover card.
- LightboxA full-screen viewer for photos and videos. The thumbnail grows into the photo, people swipe or use arrows to move, pinch to zoom, and drag down to close.
- Dialog StackDialogs that open on top of each other for a task with steps. The dialog below steps back, and Back or Escape returns one level.



















