Skip to content

Nav Basic

Simple vertical navigation list.

Install with the CLI

Copy the block into your project to own and change the code.

bunx @xerobi/ui-cli init
bunx @xerobi/ui-cli add nav-basic

Also installs: nav-core.

Import from the package

Or use it as shipped, without copying.

import { NavBasicDesktop, NavBasicMobile } from "@xerobi/ui/nav-basic"

Files

  • nav-basic/classes.ts
  • nav-basic/desktop.tsx
  • nav-basic/index.ts
  • nav-basic/mobile.tsx
  • nav-basic/types.ts

Components used

Search documentation

Search pages, components and blocks.