Components

Popover

Displays rich and interactive content in a portal, triggered by a button or other interactive element.

Loading

Installation

pnpm dlx shadcn@latest add @toui/popover

Pattern

Tokens

4 CSS variables in 4 categories.

px

CSS VariableValueDescription
--popover-pxvar(--component-px-lg)16px

py

CSS VariableValueDescription
--popover-pyvar(--component-px-md)12px

radius

CSS VariableValueDescription
--popover-radiusvar(--component-radius-lg)

max-width

CSS VariableValueDescription
--popover-max-width24rem384px

Credits

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.