Airbnb

Toggle nav

Buttons 22

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 };

Dependencies

More by Airbnb

View all
  • Radar chart

    Radar chart

    104
  • Heatmaps

    Heatmaps

    102
  • Pie chart

    Pie chart

    99
  • Linktypes

    Linktypes

    95
  • Finance Chart

    Finance Chart

    83
  • Word cloud

    Word cloud

    62
  • Streamgraph

    Streamgraph

    51
  • Tooltip

    Tooltip

    49

More in Buttons

View all
  • Button Save

    Button Save

    46
  • Button

    Button

    20
  • Eclipse Button

    Eclipse Button

    5
  • Button

    Button

    6
  • Button

    Button

    14
  • Button Group

    Button Group

    37
  • Button

    Button

    32
  • Split Button

    Split Button

    32