Proximity Sidebar

Proximity Sidebar: A dash-style scroll sidebar whose items expand as the pointer approaches. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Proximity Sidebar

npx motion-ui-skill add proximity-sidebar

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

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Source files

Proximity Sidebar

A dash-style scroll sidebar whose items expand as the pointer approaches.

Install

npx motion-ui-skill add proximity-sidebar

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import ProximitySidebar from "@/components/blocks/proximity-sidebar";

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

Browse this category