Popover | CombricSkip to content

Popover

Combric

Non-modal portaled anchored content.

@combric/react · v1.1.1 · Current

Import and usage

import { Popover, PopoverTrigger, PopoverContent } from "@combric/react";

Load the native stylesheet with @import "@combric/react/css";. This path does not require Tailwind.

Examples

Details popover

Position and alignment

Public API

Public exports
Name
Popover
PopoverTrigger
PopoverContent
Documented contracts
Property / capabilityPublished contract
Contractopen/defaultOpen
Contractside
Contractalign

Accessibility

Does not trap focus or isolate background content; consumers supply appropriate content semantics.

Keyboard

Escape closes and restores trigger focus; outside pointer interaction dismisses without stealing focus.

CSS and customization

Combric classes and canonical --combric-* variables provide the package presentation. Consumer className extends the required class; it does not replace the component contract.

Source

View source on GitHub