Switch Component
Installation
yarn add @atlrdsgn/kitUsage
import { Switch } from '@/components/ui/switch';
<Switch>
<Switch.Toggle />
</Switch>;Common Example
we will add CodeSandbox hereProperties
| Name | Type | Default | Description |
|---|---|---|---|
| width | string | sm | The object for fontSize. |
| align | string | left | left, center, right |
| border | boolean | false | An optional border around the component |
| flush | boolean | false | a no padding option |