Sean Hello

Toggle

Buttons 1

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 { Italic } from 'lucide-react';

export default function ToggleOutline() {
  return (
    <Toggle variant="outline" aria-label="Toggle italic">
      <Italic />
    </Toggle>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.7K
  • Line Charts 9

    Line Charts 9

    725
  • Alert

    Alert

    510
  • Line Charts 6

    Line Charts 6

    418
  • Area Charts 1

    Area Charts 1

    409
  • Scroll Area

    Scroll Area

    381
  • Navigation Menu

    Navigation Menu

    355
  • Statistics Card 7

    Statistics Card 7

    334

More in Buttons

View all
  • Button Group

    Button Group

    4
  • Button

    Button

    20
  • Texture Button

    Texture Button

    111
  • Button

    Button

    4
  • Hero Button

    Hero Button

    23
  • Button

    Button

    143
  • Astryx Chat Send Button

    Astryx Chat Send Button

    5
  • Button Group

    Button Group