Sections / Gems / Cursor and pointer effects
Plumb Line
A navigation bar whose current-page marker is a brass plumb bob. It hangs on a line from a ring that runs along a ruled rail under the links: hover or focus a link and the ring slides over, the bob swings from the move and settles, turning slowly on its line. Brush past the bob and it swings. A real nav with aria-current; the rail and bob are decoration.
- Kind
- Cursor and pointer effects
- Interaction
- hover follow · pendulum · brush to swing · keyboard · aria-current · navigation
- Dependencies
- None
- Licence
- Licensed with Full Access, for the sites you build; do not resell the gem itself
Formats
- Webflow (native)
- Figma (layers)
- Framer component
- HTML
- Prompts for Claude Code, Cursor, Lovable, v0, Bolt
Copy to Webflow pastes a native section with the gem in an Embed inside it. Copy to Figma pastes a frame of its best moment, text and controls as layers. Copy to Framer pastes a component with its options as controls. HTML is one self-contained snippet. Each prompt (Claude Code, Cursor, Lovable, v0, Bolt) carries the exact files, so your agent installs this gem, not a lookalike. With the MCP server, ask your agent for get_section("plumb-line").
Behaviour and accessibility
- The ring comes in from the left the first time the bar is seen and swings the bob over to the current page.
- The links are a real nav with aria-current on the current page; Tab and the left and right arrow keys move between them, and the bob follows focus.
- On touch screens a tap moves the bob to the link it chose; brushing the bob is mouse and pen only.
- The bob breathes for a few seconds after it last moved, then hangs still and nothing is drawn; everything stops off screen or in a background tab.
- With prefers-reduced-motion: the bob hangs straight and moves to a link at once, without swinging.
- Anything you put inside the element (a page headline) sits under the bar, clear of the bob.
Options
| Option | Type | Default | What |
|---|---|---|---|
links | PlumbLink[] | 4 built in | The links, in order. |
current | number | 1 | Which link is the current page (its index). |
brand | string | "Corbel" | A name or wordmark at the left; empty leaves it out. |
brandHref | string | "#" | Where the brand links to. |
drop | number | 84 | Length of the line the bob hangs on, in px. |
ink | string | "#1c1b19" | Text colour. |
paper | string | "#f2efe8" | Background colour. |
label | string | "Main" | Accessible name of the nav. |
onNavigate | (index: number, event: MouseEvent) => void | Called when a link is chosen, with its index. Links still navigate unless you prevent it. |



Free