# Nav

[**Bootstrap docs**](https://getbootstrap.com/docs/5.3/components/navs-tabs/)

### Key Features

* **Flexible Alignment**: Supports multiple alignment options including left, right, center, and vertical.
* **Style Variations**: Offers styles such as tabs and pills for different visual appearances.
* **Fill Options**: Includes fill and justify options to control the distribution of navigation items.
* **Utility Class Integration**: Allows for the addition of custom utility classes for further customization.

### Customization Options

* **Alignment Classes**: Adjust the alignment of the nav items based on the provided configuration.
* **Style and Fill**: Customize the nav's appearance by choosing between tabs or pills styles and fill options.
* **Utility Classes**: Apply additional utility classes to enhance or modify the styling and functionality of the nav component.

### Example Usage

```twig
{% include 'radix:nav' with {
  alignment: 'right',
  style: 'pills',
  fill: 'justify',
  items: links,
  container: 'fixed',
  color: 'light',
  navbar_utility_classes: ['bg-light'],
  nav_link_utility_classes: ['text-dark'],
  nav_item_utility_classes: ['px-2'],
} %}
```


---

# 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.trydrupal.com/radix/components/nav.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.
