Sean Hello

Toggle

Buttons 3

About

A two-state button that can be either on or off.

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

Code

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

Usage.tsx

import { Toggle } from '@/components/ui/toggle-1';
import { Bold } from 'lucide-react';

export default function Component() {
  return (
    <Toggle aria-label="Toggle italic">
      <Bold className="h-4 w-4" />
    </Toggle>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.6K
  • Line Charts 9

    Line Charts 9

    708
  • Alert

    Alert

    504
  • Line Charts 6

    Line Charts 6

    410
  • Area Charts 1

    Area Charts 1

    403
  • Scroll Area

    Scroll Area

    378
  • Navigation Menu

    Navigation Menu

    345
  • Area Charts 2

    Area Charts 2

    326

More in Buttons

View all
  • Button

    Button

    12
  • Notification Button

    Notification Button

    115
  • Texture Button

    Texture Button

    105
  • HeroUI Button Group

    HeroUI Button Group

    2
  • App Store Button

    App Store Button

    481
  • Button

    Button

    78
  • Split Button

    Split Button

    16
  • Button

    Button

    5