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














