Installation
Usage
import NavbarCentered from "@/components/ruixen/navbar-centered";
export default function MyNavbar() {
return <NavbarCentered />;
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
logo | React.ReactNode | Default logo | Custom logo element |
links | { label: string; href: string; active?: boolean }[] | Default links | Navigation links array |
actions | React.ReactNode | Default buttons | Custom action buttons |
className | string | - | Additional CSS classes |
Features
- Centered navigation links
- Logo positioned on the left
- Actions on the right
- Clean typography
- Responsive design

