NavMenu

Circle Navigation Menu is a modern, interactive navigation component built using pure HTML and CSS. It features a compact trigger button that expands into a circular menu, revealing navigation links arranged around the center. With smooth transitions and a clean radial layout, it delivers an engaging user experience while saving screen space. Ideal for portfolios and creative interfaces, this menu adds a premium, futuristic touch without relying on JavaScript.

uilucide-react

Installation

$npx futureuikit add menu

Import

import { NavMenu } from "@/components/ui/nav-menu"
Layout Variant
Color Theme
Type
Items
Position
Shape
Spacing

Named Keys & Props

Pass these exact named keys as props on <NavMenu />. Click any color pill to copy the prop.

colorDefault is "default"(Black & White)
variantVisual style
"solid""outline""ghost""link"
shapeCorner shape
"default""square""rounded""sharp"
spacingInner spacing
"default""2x""4x""6x""8x"

Usage Example

A basic implementation example to get you started.

Example Implementation
import { NavMenu } from"@/components/ui/nav-menu";

const items = [
 { title:"Home", icon: <span>🏠</span> },
 { title:"Settings", icon: <span>⚙️</span> },
];

export default function Example() {
 return <NavMenu items={items} />;
}

Features

Key capabilities and highlights.

Key Capabilities
  • ◆Opens a circular navigation layout from a single central button.
  • ◆Displays menu items arranged around the center for quick access.
  • ◆Provides an interactive and visually engaging navigation experience.
  • ◆Uses smooth CSS transitions for opening and closing animations.
  • ◆Ideal for portfolios, landing pages, and creative interfaces.
  • ◆Built with pure HTML and CSS, making it lightweight and easy to customize.

Notes

Important implementation details to consider.

Implementation Details
  • ◆Install: Run'npx futureuikit add menu'.
  • ◆Import:'import { NavMenu } from "@/components/ui/nav-menu";'
  • ◆Items: Pass an array of'items'containing'title','icon'(ReactNode), and optionally an'onClick'handler.
  • ◆Positioning: Use a parent wrapper with'fixed'or'absolute'positioning to anchor the menu (e.g., bottom-right).
  • ◆Customization: The radial spacing is controlled via CSS variables in the component file for easy adjustment.