Components
Popover
Documentation for the Popover component.
Popover
Preview
The Popover component is built with React Aria and styled using StyleX.
Import
import { Popover } from '@moul-dev/ui';Usage
Here is a basic example of how to use the Popover component:
import { Popover } from '@moul-dev/ui';
export default function Example() {
return (
<Popover>
{/* Component content */}
</Popover>
);
}Props
Popover Props
Prop
Type
Default className: react-aria-Popover
| Render Prop | CSS Selector |
|---|---|
isOpen Whether the popover is open. | [data-open] |
placement The current placement. | [data-placement] |