'use client';'use strict';

var chunk5XB54L7P_cjs = require('./chunk-5XB54L7P.cjs');
var css = require('@onbeam/styled-system/css');
var recipes = require('@onbeam/styled-system/recipes');
var icons = require('@onbeam/icons');
var jsxRuntime = require('react/jsx-runtime');

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

exports.a = s;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-QVINXDRE.cjs.map