Social Dock

A floating link dock whose icons swell with a spring as the pointer (or keyboard focus) nears them, with a coloured halo and a springy label chip. Generic glyphs — bring your own.

Try it: Sweep across the dock — icons magnify; Tab through to magnify by keyboard.

Installation

Install with the shadcn CLI:

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

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

Usage

import { SocialDock } from '@/components/ui/social-dock'

Props

Component props
PropTypeDefaultNotes
items{ label, href, icon, color? }[]6 generic linksDock links.
size / maxSizenumber48 / 76Resting and peak icon sizes in px.
aria-labelstring'Find me elsewhere'Accessible name of the nav.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react
  • Copy Email Button

    A pill showing your address: the glyph morphs to a check, the label rolls to “Copied”, a ring pulses out and a live region confirms. Falls back to a select hint if the clipboard is blocked.

  • Contact Form Card

    Validated on blur and submit with announced inline errors (shake + focus jump), optional async onSubmit with a sending morph, a drawn-check success scene with a particle burst, and a failure state…

  • Availability Badge

    A status pill with a motion language per state: “open” sends two staggered radar ripples, “limited” breathes slowly, “booked” holds still. Copy swaps on a vertical spring; optional live local clock.

  • Client Logo Strip

    A calm trust row of generated marks with a cursor-following spotlight that lights hairline borders; marks lift and spin a few degrees on hover/focus.

  • Portfolio Footer

    A closing statement in giant display type — letters rise out of masks on scroll-in and a light follows the cursor across the glyphs — with a slow ribbon marquee, links and back-to-top.

  • Testimonial Carousel

    Large display-type quotes sliding on direction-aware springs with swipe/drag, arrow keys and a progress-filled dot for auto-advance. Pauses on hover, focus and drag.

See all 35 Portfolio components