Switch Component
Installation
yarn add @atlrdsgn/kit
Usage
import { Switch } from '@/components/ui/switch';
<Switch>
<Switch.Toggle />
</Switch>;
Common Example
we will add CodeSandbox here
Properties
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 |