Logo

Voxlet UI

Anime Navbar

A sleek and animated navigation bar built with Framer Motion for a smooth user experience.

The Navbar will show at top of the page

Installation

Install this component and its dependencies with a single command.

npx shadcn@latest add https://ui.voxletstudio.com//r/anime-navbar.json

Once your project registers the @voxlet namespace, this also works: npx shadcn@latest add @voxlet/anime-navbar

Props

NavBarProps

PropTypeDefaultDescription
itemsNavItem[][]An array of navigation items, each containing a name, URL, and icon.
classNamestringundefinedOptional custom class names for styling.
defaultActivestringundefinedSpecifies which navigation item should be active by default.

NavItem

PropTypeDefaultDescription
namestringundefinedThe label for the navigation item.
urlstringundefinedThe destination URL for the navigation item.
iconLucideIconundefinedThe icon representing the navigation item.

Inspired by Jatin Yadav's Anime Navbar component on 21st.dev.

Brought to you by Voxlet Studio