'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 jsxRuntime = require('react/jsx-runtime');

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

exports.a = c;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-G5PWYZJA.cjs.map