Discover / Overlay
Popover
Show contextual content near a trigger.
Usage notes
Use a clear trigger and keep contextual content focused and concise.
Examples use @easyui/react and its stylesheet. Read the setup guide.
Example source
import { Button, Popover, PopoverContent, PopoverDescription, PopoverTitle, PopoverTrigger } from "@easyui/react";
export default function Example() {
return (
<Popover>
<PopoverTrigger render={<Button variant="secondary">View details</Button>} />
<PopoverContent><PopoverTitle>Workspace</PopoverTitle><PopoverDescription>Manage your workspace preferences here.</PopoverDescription></PopoverContent>
</Popover>
);
}