'use client';import { a } from './chunk-TWGPE4V7.js';
import { cx } from '@onbeam/styled-system/css';
import { checkbox, gridBackground } from '@onbeam/styled-system/recipes';
import { LedOnIcon } from '@onbeam/icons';
import { jsxs, jsx } from 'react/jsx-runtime';

var s=a(({className:t,disabled:a,label:c,hasError:i,...n},m)=>{let e=checkbox();return jsxs("label",{"aria-disabled":a,className:cx(e.container,t),children:[jsx("input",{type:"checkbox",ref:m,...n,disabled:a,className:cx("peer",e.input)}),jsx("div",{"aria-disabled":a,"data-error":i,className:cx(gridBackground(),e.checkboxWrapper),children:jsx("div",{"data-error":i,className:cx("container",e.checkboxContainer),children:jsx(LedOnIcon,{height:16,width:16,className:cx("icon",e.icon)})})}),typeof c=="string"?jsx("span",{className:e.label,children:c}):c]})});s.displayName="Checkbox";

export { s as a };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-VHPBVVI5.js.map