114
An app dock that swells under your pointer on a stiff spring, bounces apps as they launch, marks running ones with a dot, and works from the keyboard too.
akadock·macos dock·magnification
Run this in any project set up for the shadcn CLI. It copies the Magnify Dock source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/magnify-dock.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { MagnifyDock } from "@/components/magnify-dock";
export default function Page() {
return <MagnifyDock />;
}A free React component in the Workspace collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Magnify Dock source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| appsrequired | DockApp[] | — |
| trailing | DockApp[] | [] |
| size | number | 40 |
| magnification | number | 64 |
| reach | number | 120 |
| onOpen | (app: DockApp) => void | — |
| className | string | — |