Skip to content
All blocks

Navbar blocks

Marketing site headers: link bars, menus with panels and mobile drawers.

4 variants. Every block is one file built from CK-UI components and works in light and dark mode.

Simple navbar

Logo and links with the current page marked; on small screens the links stay visible in a row that scrolls sideways.

CK-UI components

None, plain markup only.

npm packages

None beyond React and Next.js.

Navbar with menus

NavigationMenu panels for products and resources on desktop, and a sectioned drawer on smaller screens.

CK-UI components

Also copy the files they import: ThemeScope.

npm packages

npm install @radix-ui/react-dialog @radix-ui/react-navigation-menu @radix-ui/react-slot class-variance-authority react-icons

Navbar with mobile drawer

Centered links and actions on desktop; below the large breakpoint a menu button opens a drawer that closes after navigation.

CK-UI components

Also copy the files they import: ThemeScope.

npm packages

npm install @radix-ui/react-dialog @radix-ui/react-slot class-variance-authority react-icons