Load the native stylesheet with @import "@combric/react/css";. This path does not require Tailwind.
Examples
Confirmation dialog
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogTitle, DialogTrigger } from "@combric/react";
export function Example() {
return <Dialog><DialogTrigger>Open dialog</DialogTrigger><DialogContent><DialogTitle>Confirm change</DialogTitle><DialogDescription>This action updates the project.</DialogDescription><DialogClose>Cancel</DialogClose></DialogContent></Dialog>;
}
Public API
Public exports
Name
Dialog
DialogTrigger
DialogContent
DialogTitle
DialogDescription
DialogClose
Documented contracts
Property / capability
Published contract
Contract
open/defaultOpen
Contract
onOpenChange
Contract
container portal target
Accessibility
Moves focus inside, cycles Tab, isolates background siblings, restores focus, and requires an accessible name.
Keyboard
Tab/Shift+Tab cycle; Escape closes the top active layer and restores trigger 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.