115 Components

Glide Dock

Motion

A floating, animated navigation dock for React that intelligently hides while scrolling down and reappears when scrolling up. Features smooth spring animations, active item indicators, and a sleek glassmorphism design powered by Framer Motion and Tailwind CSS.

MotionNavigationInteractive
/r/glide-dock.json

Installation

Install directly into your project using the shadcn CLI or copy the source code manually.

Requires:framer-motionlucide-reactclsxtailwind-merge
$npx shadcn@latest add "https://boseui.site/r/glide-dock.json"

Props

TypeScript props supported by <GlideDock />.

2 props
PropTypeDefaultDescription
itemsGlideDockItem[]defaultItemsArray of navigation items, each containing a name, Lucide React icon component, and onClick handler.
classNamestring""Optional Tailwind CSS classes for customizing the floating navigation container.

Key Features

  • Automatically hides when scrolling down and reappears when scrolling up
  • Remains visible when the page is near the top
  • Smooth spring-based entrance and exit animations using Framer Motion
  • Animated active navigation indicator with shared layout transitions
  • Responsive navigation labels that adapt to smaller screens
  • Modern glassmorphism design with backdrop blur and subtle borders
  • Customizable navigation items with icons and click handlers
  • Fixed floating positioning at the bottom center of the viewport

Keyboard & Accessibility

  • Uses semantic nav and button elements for accessible navigation
  • Provides native keyboard interaction through button elements
  • Supports descriptive navigation labels alongside icons on larger screens