Dialog
A focused surface for decisions that need attention.
A small anchored surface for contextual information.
npx shadcn@latest add @silicon-ui/popovernpx shadcn@latest add @silicon-ui/popoverInstall the dependencies.
npm install @radix-ui/react-popoverCopy these files into your project. Shared files are skipped if you already have them.
components/silicon-ui/popover/popover.tsxcomponents/silicon-ui/popover/popover.module.csscomponents/silicon-ui/lib/escape.ts sharedInstall the foundation once per app for the design and motion tokens: npx shadcn@latest add @silicon-ui/silicon-foundation
PopoverAccepts the props of PopoverProps.
PopoverCloseAccepts the props of ButtonHTMLAttributes.
PopoverTriggerAccepts the props of ButtonHTMLAttributes.
PopoverContentAccepts the props of PopoverContentImplProps, PopperContentProps, DismissableLayerProps, PopoverContentProps.