import { Canvas, Controls, DocsStory, Meta } from '@storybook/blocks'
import { ResourceLinks, KAIOInstallation } from '~storybook/components'
import * as ToggleSwitchFieldStories from './ToggleSwitchField.stories'

<Meta of={ToggleSwitchFieldStories} />

# ToggleSwitchField

<ResourceLinks
  sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/ToggleSwitch/ToggleSwitchField"
  designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3075638160/Toggle+Switch"

/>

<KAIOInstallation exportNames="ToggleSwitchField" />

## Overview

A Toggle Switch lets people turn a single setting on or off immediately.

<Canvas of={ToggleSwitchFieldStories.Playground} />
<Controls of={ToggleSwitchFieldStories.Playground} />

## API

<DocsStory of={ToggleSwitchFieldStories.Reversed} />
