Popover API
Every prop of the 7 parts Popover exports, generated from the package manifest.
import { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- Popover · PopoverAnchor · PopoverContent · PopoverDescription · PopoverHeader · PopoverTitle · PopoverTrigger
- Contract
- packages/brand-system/src/components/popover.contract.test-d.ts
- Demos
- 5 on the Popover page — rendered live, hydrated
- Source
- packages/brand-system/src/components/popover.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Popover is for, how it composes and what it looks like, see Popover.
Popover
Re-exported from @radix-ui/react-popover. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
PopoverAnchor
Re-exported from @radix-ui/react-popover. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
PopoverContent
Inherited from @radix-ui/react-popover — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
PopoverDescription
A styled <p> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
PopoverHeader
A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
PopoverTitle
A styled <h2> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
PopoverTrigger
Re-exported from @radix-ui/react-popover. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type