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

var c=a(({className:p,disabled:i,readOnly:a,label:s,...m},l)=>{let e=switchRecipe();return jsxs("label",{"aria-disabled":i,"aria-readonly":a,className:cx(e.container,p),children:[jsx("input",{type:"checkbox",ref:l,...m,disabled:i,readOnly:a,className:cx("peer",e.input)}),s,jsx("div",{className:e.track,children:jsx("div",{className:cx("thumb",e.thumb)})})]})});c.displayName="Switch";

export { c as a };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-7IPIIQXI.js.map