Glass App Dock

A macOS-style dock: icons magnify on a spring with a cosine falloff around the pointer, labels float above, launching bounces the icon and lights a running dot. Keyboard focus magnifies too.

Try it: Sweep across the dock; click to launch; Tab and ← → by keyboard.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/glass-app-dock.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/glass-app-dock. You can also copy the source into components/ui/glass-app-dock.tsx (view on GitHub).

Usage

import { GlassAppDock } from '@/components/ui/glass-app-dock'

Props

Component props
PropTypeDefaultNotes
appsDockApp[]DEFAULT_DOCK_APPS{ id, label, icon, tint?, running?, separatorBefore? }
baseSize / maxSizenumber44 / 76Resting and peak icon size in px.
rangenumber150Pointer distance over which neighbours magnify.
onLaunch(id) => void—Fires when an icon is clicked.

Dependencies

  • motion
  • lucide-react
  • Spotlight Command Palette

    A cmdk-style ⌘K launcher: fuzzy grouped results, a highlight that springs between rows, nested pages (Backspace to go back), key-cap hints and full combobox semantics with focus restore.

  • Changelog Timeline

    Release notes on a timeline with sticky dates, popping dots, generated cover art and a filter (All / New / Improved / Fixed) that re-flows each change list on springs.

  • Activity Rings

    Apple Watch-style concentric progress rings: gradient strokes sweep in on a spring, overshooting 100% laps over itself with a shadowed tip, and the legend numbers roll up.

  • Announcement Bar

    A slim ink top bar with a sweeping sheen; messages roll vertically with a blur, dots pick one, hover or focus pauses, and dismissing collapses the height smoothly.

  • Glass Mega Navbar

    A full-width bar that contracts into a floating glass pill on scroll. Menus open into one mega panel that slides between sections with a blur, a hover pill glides between triggers, and phones get a…

  • Cookie Consent

    A floating glass consent card with equal-weight Accept / Reject (no dark patterns) and a Customise drawer of per-category switches that expands in place, plus a chip to reopen settings.

See all 14 Website Sections components