About
here is toggle nav component
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Toggle nav to your project and fits it to your theme.
Code
How Toggle nav is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
// src/DemoOne.tsx
import React from 'react';
import { Component as ResponsiveLayoutComponent } from '@/components/ui/toggle-nav';
import { cn } from "@/lib/utils";
const DemoOne = () => {
return (
<div className={cn("flex w-full min-h-screen justify-center items-center p-0 bg-white")}>
<div className="shadow-none rounded-none overflow-hidden border-box">
<ResponsiveLayoutComponent
width={800}
height={600}
initialShowSidebar={true}
/>
</div>
</div>
);
};
export { DemoOne };















