const e = "https://nice2dev.com/schemas/component-doc-v1.json", o = "NiceToggle", n = "Toggle", t = "1.0.0", a = "stable", s = "editors", c = "boolean", i = "Boolean switch/toggle control styled as an iOS-like switch.", l = "1.0.0", r = ["web", "mobile", "desktop"], d = ["toggle", "switch", "boolean", "on-off"], g = [{ name: "label", type: "ReactNode", required: !1, description: "Toggle label." }, { name: "checked", type: "boolean", required: !1, default: "false", description: "Controlled on/off state." }, { name: "disabled", type: "boolean", required: !1, description: "Disables the toggle." }, { name: "size", type: "NiceSize", required: !1, default: "'md'", description: "Visual size." }, { name: "name", type: "string", required: !1, description: "HTML name." }], p = [{ name: "onChange", parameters: [{ name: "checked", type: "boolean" }], description: "Called on toggle." }], b = [{ name: "--nice-toggle-track-bg", default: "var(--nice-border-color)", description: "Track background (off)" }, { name: "--nice-toggle-active-bg", default: "var(--nice-primary)", description: "Track background (on)" }], m = [{ title: "Basic Toggle", code: `<NiceToggle
  label="Enable notifications"
  checked={enabled}
  onChange={setEnabled}
/>`, language: "tsx" }], f = [{ name: "NiceCheckbox", relationship: "alternative" }], u = {
  $schema: e,
  name: o,
  displayName: n,
  version: t,
  status: a,
  category: s,
  subcategory: c,
  package: "@nicetoDev/ui",
  description: i,
  since: l,
  platforms: r,
  keywords: d,
  props: g,
  events: p,
  cssVariables: b,
  examples: m,
  related: f
};
export {
  e as $schema,
  s as category,
  b as cssVariables,
  u as default,
  i as description,
  n as displayName,
  p as events,
  m as examples,
  d as keywords,
  o as name,
  r as platforms,
  g as props,
  f as related,
  l as since,
  a as status,
  c as subcategory,
  t as version
};
