Opens in a new tab

Dock

Widgets2 minutes readUpdated 3 Oct 2026

A dock for your links: every item grows as the pointer nears it, follows it on a spring, eases its corners from round to square and shows a label above. It can fold into one button on smaller screens. Pro, unlocks with a Pro licence in the Bricksify Companion. Plain JavaScript, no library.

Where to find it#

  • Element: Elements panel > Bricksify > Dock. It is a Block with every layout control, inserted with three items.
  • Panel: the Dock (Bricksify) group on Block and Div; set Effect to Magnify (dock). Header Floating Dock uses the panel.

Items#

Every direct child is an item: a link (a Block with the a tag, a Text Link or an Icon with a link) with an icon inside and an aria-label. The aria-label is also the label shown on hover. Style the items as you like; their size, corner radius and icon size come from the dock settings.

Settings#

SettingWhat it does
Item size / under the pointer40 / 60px.
Icon size / under the pointer20 / 40px.
Corner radius / under the pointer50 / 10px.
Reach of the pointer150px: items closer than this grow, the nearest most.
LabelsShow on hover (default) or hide. Label background and Label text colours.
Fold into a buttonNever, or below a breakpoint. Folded, the dock is one button (its aria-label is Button aria-label) that stacks the items above it, the bottom one first, 50ms apart; Esc or a click elsewhere folds them back. Folded item size, corner radius and icon size (40, 12, 24px), Button background and Button icon colours. Set the folded dock’s position and background on the dock at that breakpoint.

All sizes can differ per breakpoint. The spring (mass 0.1, stiffness 150, damping 12) is the original’s and is not exposed.

Reduced motion#

Items keep their resting size; labels and folded items appear without moving.