···6677- [ ] perfect inset border radii
88- [ ] Number field validation state styling
99+- [ ] Switch to [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Logical_properties_and_values/Margins_borders_padding)
1010+ - will need a type aware eslint rule for this
1111+- [ ] Switch all px to rem
1212+- [ ] cursor pointer not working in links (and nav links)
9131014### Components
1115
···11+---
22+title: Navbar
33+description: A responsive navigation bar component with logo, navigation, and action sections. On mobile, navigation and actions are automatically contained in a hamburger menu overlay.
44+---
55+66+import { PropDocs } from '../../../lib/PropDocs'
77+import { Example } from '../../../lib/Example'
88+import { Basic } from '../../../examples/navbar/basic'
99+import { Justify } from '../../../examples/navbar/justify'
1010+import { WithActions } from '../../../examples/navbar/with-actions'
1111+import { AlwaysVisibleActions } from '../../../examples/navbar/always-visible-actions'
1212+import { WithMenus } from '../../../examples/navbar/with-menus'
1313+import { ActiveLink } from '../../../examples/navbar/active-link'
1414+1515+<Example src={Basic} noPadding />
1616+1717+## Installation
1818+1919+Run the following command to add the navbar component to your project.
2020+2121+```bash
2222+pnpm hip install navbar
2323+```
2424+2525+## Props
2626+2727+This component is built using [React Aria Components](https://react-spectrum.adobe.com/react-aria/index.html).
2828+2929+<PropDocs components={["Navbar", "NavbarLogo", "NavbarNavigation", "NavbarAction"]} />
3030+3131+## Features
3232+3333+### Active Link
3434+3535+You can mark a link as active by setting the `isActive` prop to `true`.
3636+3737+<Example src={ActiveLink} />
3838+3939+### Navigation Alignment
4040+4141+The `NavbarNavigation` component supports different alignment options using the `justify` prop.
4242+4343+<Example src={Justify} />
4444+4545+### With Actions
4646+4747+Navbars can include action buttons that are automatically moved to the mobile menu.
4848+4949+<Example src={WithActions} />
5050+5151+### With Menus
5252+5353+Navbars can include menus that are displayed when hovering over a button.
5454+5555+<Example src={WithMenus} />
5656+5757+## Mobile Behavior
5858+5959+On mobile devices (below the `md` breakpoint), the `NavbarNavigation` and `NavbarAction` components are automatically hidden and shown in a hamburger menu overlay. When the hamburger menu is clicked, it overlays the available space and renders the navigation and actions in a vertical stack with a separator between them.
6060+6161+### Always Visible Actions
6262+6363+The `NavbarAction` component can be made always visible on mobile by setting the `alwaysVisible` prop to `true`.
6464+6565+<Example src={AlwaysVisibleActions} />
6666+6767+## Related Components
6868+6969+- [Link](/docs/components/link) - For navigation links in NavbarNavigation
7070+- [Button](/docs/components/button) - For action buttons in NavbarAction
7171+- [IconButton](/docs/components/icon-button) - For icon-based actions
7272+- [Flex](/docs/components/flex) - For layout within navbar sections
7373+