alexisroe

Navigation

Navigation

About

A keyboard-accessible vertical or horizontal navigation list with nested submenus, built for monochrome e-ink style interfaces.

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

Code

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

Usage.tsx

import { Navigation } from "@/components/ui/navigation";

export default function NavigationFixedWidthDemo() {
  return (
    <div
      style={{
        backgroundColor: "var(--eink-color-background, #ffffff)",
        color: "var(--eink-color-primary, #000000)",
        padding: 24,
        fontFamily: "monospace",
      }}
    >
      <div style={{ width: 480, border: "1px dashed grey" }}>
        <Navigation fullWidth={false}>
          <Navigation.Item target="/" icon="home" label="Home" />
          <Navigation.Item label="Products" icon="folder">
            <Navigation.Item target="/products/new" label="New" />
            <Navigation.Item target="/products/archived" label="Archived" />
          </Navigation.Item>
          <Navigation.Item
            target="/settings"
            icon="settings"
            label="Settings"
          />
        </Navigation>
      </div>
    </div>
  );
}

More by alexisroe

View all
  • E-Ink Progress Bar

    E-Ink Progress Bar

  • Pill

    Pill

  • Notification

    Notification

  • Number Stepper

    Number Stepper

  • Log

    Log

  • Value Display

    Value Display

  • Last Updated

    Last Updated

  • List

    List

More in Navigation

View all
  • Sidebar

    Sidebar

    219
  • Outline Pagination

    Outline Pagination

    11
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    40
  • Navbar

    Navbar

    71
  • Tabs

    Tabs

    34
  • Oversized 404 Numeral

    Oversized 404 Numeral

    49
  • Pagination Ant

    Pagination Ant

  • Smart Breadcrumb

    Smart Breadcrumb

    35