UNPKG

@arolariu/components

Version:

🎨 70+ beautiful, accessible React components built on Base UI. TypeScript-first, CSS Modules styling, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡

27 lines • 1.09 kB
import { CheckboxGroup as BaseCheckboxGroup } from "@base-ui/react/checkbox-group"; import * as React from "react"; /** * Groups related checkboxes into a single accessible fieldset-like control. * * @remarks * - Renders a `<div>` element by default * - Built on Base UI Checkbox Group primitives * - Applies compact stacked spacing between child checkboxes * * @example * ```tsx * <CheckboxGroup defaultValue={["news"]}> * <Checkbox value='news'>Newsletter</Checkbox> * <Checkbox value='events'>Events</Checkbox> * </CheckboxGroup> * ``` * * @see {@link https://base-ui.com/react/components/checkbox-group | Base UI Checkbox Group Docs} */ declare const CheckboxGroup: React.ForwardRefExoticComponent<Omit<Omit<import("@base-ui/react").CheckboxGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>; declare namespace CheckboxGroup { type Props = React.ComponentPropsWithRef<typeof BaseCheckboxGroup>; type State = BaseCheckboxGroup.State; } export { CheckboxGroup }; //# sourceMappingURL=checkbox-group.d.ts.map