Clevision

Buttons

Buttons 5

About

Here is Buttons Components

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

Code

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

Usage.tsx

'use client'

import { useState } from 'react'

import { MenuIcon, XIcon } from 'lucide-react'

import { Button } from '@/components/ui/button'

const IconButtonToggleDemo = () => {
  const [isOpen, setIsOpen] = useState(false)

  return (
    <Button variant='ghost' size='icon' onClick={() => setIsOpen(!isOpen)} aria-label='Toggle menu'>
      {isOpen ? <XIcon /> : <MenuIcon />}
    </Button>
  )
}

export default IconButtonToggleDemo

More by Clevision

View all
  • Portfolio Hero

    Portfolio Hero

    1.2K
  • Syntra Hero

    Syntra Hero

    765
  • Hero Section

    Hero Section

    444
  • Hardware Hero

    Hardware Hero

    252
  • Studio Hero

    Studio Hero

    243
  • Saas Hero Section

    Saas Hero Section

    238
  • Hero Section 41

    Hero Section 41

    208
  • Nexa Canvas Hero

    Nexa Canvas Hero

    122

More in Buttons

View all
  • Texture Button

    Texture Button

    122
  • Button

    Button

    172
  • HeroUI Button Group

    HeroUI Button Group

    1
  • Button

    Button

    88
  • Native Button

    Native Button

    7
  • Button

    Button

    74
  • Button Group

    Button Group

    5
  • Button

    Button

    21