Efferd

Menu Toggle

Buttons 242

About

a sleek animated toggle button (like a hamburger menu) built with SVG. It smoothly transitions between open and closed states with a fun rotation and line morph effect—perfect for modern navbars!

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

Code

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

Usage.tsx

import React from 'react';
import { MenuToggle } from '@/components/ui/menu-toggle';

export default function DemoOne() {
	const [open, setOpen] = React.useState(false);

	return (
		<div className="flex min-h-screen w-full items-center justify-center">
			<MenuToggle strokeWidth={3} open={open} onOpenChange={setOpen} className="size-16" />
		</div>
	);
}

More by Efferd

View all
  • Testimonials Columns

    Testimonials Columns

    7.1K
  • Zoom Parallax

    Zoom Parallax

    5.2K
  • Dotted Surface

    Dotted Surface

    3.5K
  • Footer Section

    Footer Section

    2.7K
  • Grid Feature Cards

    Grid Feature Cards

    1.9K
  • Logo Cloud 2

    Logo Cloud 2

    1.6K
  • Header 3

    Header 3

    1.5K
  • Logo Cloud 3

    Logo Cloud 3

    1.5K

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