Header Icon Menu
This article documents
Header Icon Menu Free
A clean top bar with two dropdowns of icon cards and a sheet from the right on mobile.
Requires: the free Bricksify Companion for the motion (Menu Motion and Hamburger widgets). No library.
How it works#
- The menu is Bricks’ own Nav (Nestable): dropdowns, the mobile menu, keyboard and aria are Bricks’. Edit items, dropdown panels (each dropdown’s
Content) and the mobile menu with Bricks’ controls as usual. - Motion comes from the Menu Motion (Bricksify) group on the Nav. Without the Companion the menu works exactly like a plain Nav (Nestable), with Bricks’ own fade. Here: Dropdown position left edge of the menu, Dropdown animation zoom (0.1s, from 90%), Between dropdowns content slides from the side, Mobile menu sheet from the right with a blurred backdrop, Mobile submenus accordion (0.2s).
- The mobile button and the close button inside the sheet are Bricks Toggles with the Hamburger (Bricksify) group set to Converge, 11px wide, 1.33px lines.
- The mobile menu appears at 991px (Nav setting Show mobile menu toggle). The sheet is the Nav items list: its width (75%, at most 384px) and position are Bricks’ Mobile menu controls.
What you replace#
| In the structure panel | What to do |
|---|---|
Logo link | Your logo and brand name; the Sheet header item repeats the logo inside the mobile sheet. |
Dropdown - Products, Dropdown - Resources | Each Item is an icon, a title and a description. Duplicate an item to add one. |
Link - Home and the other links | Text and URL. |
Buttons | Login and Sign up, on desktop and inside the sheet (Buttons (mobile menu only)). |
Classes#
Global classes with typed settings: bxh01-panel (every dropdown panel), bxh01-sub, bxh01-sub-icon, bxh01-sub-title, bxh01-sub-desc, bxh01-btn-outline, bxh01-btn-primary, bxh01-toggle, bxh01-sheet. The class bsfy-h01 on the header holds only the layered shadows Bricks has one control for, and focus rings.
Reduced motion#
Panels, sheet and accordions open without animating.