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 SwitchMiniDemo = () => {
  return (
    <Switch
      aria-label='Mini switch'
      className='[&_span]:border-input h-3 border-none [&_span]:size-4.5 [&_span]:border'
    />
  )
}

export default SwitchMiniDemo

More by Clevision

View all
  • Portfolio Hero

    Portfolio Hero

    1.3K
  • Syntra Hero

    Syntra Hero

    787
  • Hero Section

    Hero Section

    461
  • Hardware Hero

    Hardware Hero

    264
  • Studio Hero

    Studio Hero

    251
  • Saas Hero Section

    Saas Hero Section

    248
  • Hero Section 41

    Hero Section 41

    212
  • Nexa Canvas Hero

    Nexa Canvas Hero

    125

More in Forms

View all
  • Form

    Form

    10
  • Contact Form

    Contact Form

    33
  • Premium Auth

    Premium Auth

    616
  • Paper Plane

    Paper Plane

    113
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    18
  • Onboarding Stepper

    Onboarding Stepper

    14
  • Input

    Input

    14