cnippet/ui
  1. docs
  2. core components
  3. overlays

guides

Overlays

Components that render above the page — dialogs, menus, popovers, and tooltips.

Overlay components render on top of the page content, typically triggered by user interaction, and manage their own focus and dismissal behavior.

  • Alert Dialog — A modal dialog that interrupts the user to require confirmation.
  • Command — A command palette for fast, keyboard-driven navigation and actions.
  • Context Menu — A menu triggered by right-click, displayed at the cursor position.
  • Dialog — A window overlaid on the primary content, requiring user interaction.
  • Drawer — A panel that slides in from an edge of the screen.
  • Popover — Displays rich content in a portal, anchored to a trigger.
  • Sheet — An extension of the dialog component for displaying content that complements the main content.
  • Tooltip — A popup that displays information when hovering or focusing an element.