Hook Sidebar

Hook Sidebar: A vertical navigation list with a dashed rail that marks the active item. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Hook Sidebar

npx motion-ui-skill add hook-sidebar

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • motion
  • next
  • react
  • tailwind-merge

Source files

Hook Sidebar

A vertical navigation list with a dashed rail that marks the active item.

Install

npx motion-ui-skill add hook-sidebar

Dependencies

  • clsx
  • motion
  • next
  • react
  • tailwind-merge

Usage

"use client";

import { HookSidebar as HookSidebar } from "@/components/blocks/hook-sidebar";

export function Example() {
  return (
    <div className="p-6">
      <HookSidebar />
    </div>
  );
}

Browse this category