# Local Tasks

### Key Features

* **Primary Local Tasks**: Handles the display of main navigation tasks, commonly known as primary tabs.
* **Secondary Local Tasks**: Manages secondary tasks, typically used for sub-navigation or secondary actions related to the primary content.
* **Accessible Design**: Includes visually hidden headers for screen readers, ensuring better accessibility.

### Customization Options

* **Tab and Pill Styles**: Primary tasks are displayed as tabs, while secondary tasks are shown as pills, offering a distinct visual difference.
* **Flexible Integration**: Can be easily customized and integrated into various parts of a web application where local task navigation is required.

### Usage

```twig
{% include 'radix:local-tasks' with {
  primary: primary_local_tasks,
  secondary: secondary_local_tasks
} %}
```


---

# 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/local-tasks.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.
