# Navbar

* **Component**: \<NavBar/>
* **Path**: /components/layout/navbar.tsx
* **Import**:

```typescript
import { NavBar } from "@/components/layout/navbar";
```

<figure><img src="/files/nM6Z0fudnyeFZK8od0ab" alt=""><figcaption><p>Navbar</p></figcaption></figure>

The Navbar is composed of:

* Your logo/brand
* Main links (add your pricing link here if needed)
* User menu

The Navbar is sticky, it will stay on top of the page when you scroll down.

The links will regroup under a burger menu on mobile version.

<figure><img src="/files/Ge8RHo08zzzd7xp92M4s" alt=""><figcaption><p>Mobile Navbar</p></figcaption></figure>

{% hint style="info" %}
Do not forget to update both mobile AND laptop sections if you add or modify a new link.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.directoryfa.st/general-components/navbar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
