felipemenezes098

One Clipboard

Buttons 26

About

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

Code

How One Clipboard 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 { Button } from '@/components/ui/button'

export function Button15() {
  const [open, setOpen] = useState(false)

  return (
    <Button
      variant="outline"
      size="icon"
      aria-label={open ? 'Close menu' : 'Open menu'}
      aria-pressed={open}
      onClick={() => setOpen((v) => !v)}
      className="group/hamburger"
      data-state={open ? 'open' : 'closed'}
    >
      <span className="relative flex size-4 flex-col items-center justify-center">
        <span className="absolute h-0.5 w-4 -translate-y-1.5 rounded-full bg-current transition-transform duration-200 group-data-[state=open]/hamburger:translate-y-0 group-data-[state=open]/hamburger:rotate-45" />
        <span className="absolute h-0.5 w-4 rounded-full bg-current transition-opacity duration-200 group-data-[state=open]/hamburger:opacity-0" />
        <span className="absolute h-0.5 w-4 translate-y-1.5 rounded-full bg-current transition-transform duration-200 group-data-[state=open]/hamburger:translate-y-0 group-data-[state=open]/hamburger:-rotate-45" />
      </span>
    </Button>
  )
}

export default Button15

Dependencies

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    919
  • Editorial Collage Hero

    Editorial Collage Hero

    425
  • Split Hero With Image Cards

    Split Hero With Image Cards

    399
  • Editorial Image Hero

    Editorial Image Hero

    385
  • Scroll 01

    Scroll 01

    338
  • Real Estate Search Hero

    Real Estate Search Hero

    186
  • Editorial Hero

    Editorial Hero

    171
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    121

More in Buttons

View all
  • Button

    Button

    5
  • App Store Button

    App Store Button

    453
  • Button

    Button

    47
  • Eclipse Button

    Eclipse Button

    39
  • Texture Button

    Texture Button

    92
  • Button

    Button

    4
  • Split Button

    Split Button

    14
  • Button

    Button

    32