Popover | CombricSkip to content

Popover

Combric

Non-modal portaled anchored content.

@combric/react · v1.3.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
PopoverTrigger leadingIcon/trailingIconReactNode decorative slots

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.

Motion

Popover content fades and translates/scales by default, with presence-aware cleanup. Customize or locally disable it through PopoverContent’s className and public state/side attributes. Reduced motion is automatic. See the Motion Foundation.

Source

View source on GitHub