Clevision

Switch

Forms 1

About

Here is Switch component

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Switch to your project and fits it to your theme.

Code

How Switch is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Switch } from '@/components/ui/switch'

const SwitchSquareDemo = () => {
  return <Switch aria-label='Square switch' className='rounded-xs [&_span]:rounded-xs' />
}

export default SwitchSquareDemo

More by Clevision

View all
  • Calendar

    Calendar

    110
  • Card Studio

    Card Studio

    106
  • Collapsible

    Collapsible

    43
  • Button Group

    Button Group

    39
  • Waitlist 01

    Waitlist 01

    34
  • Buttons

    Buttons

    34
  • Logo Cloud

    Logo Cloud

    32
  • Combobox

    Combobox

    32

More in Forms

View all
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    87
  • Premium Auth

    Premium Auth

    556
  • Login 1

    Login 1

    61
  • Form

    Form

    138
  • Authentication Card

    Authentication Card

    51
  • Book A Demo 3

    Book A Demo 3

    98
  • Login 2

    Login 2

    11