# Page

### Key Features

* **Attribute Management**: Includes logic to handle page attributes, ensuring they are correctly applied even if not explicitly set.
* **Utility Class Integration**: Supports the addition of custom utility classes for further customization and styling of the page.
* **Modular Structure**: Divides the page into distinct sections such as header, content, and footer, allowing for easy customization and reuse.

### Customization Options

* **Dynamic CSS Classes**: Customize the appearance of the page with custom CSS classes and utility classes.
* **Flexible Content Blocks**: Utilize blocks for header, content, and footer, offering flexibility in content arrangement and design.

### Template Structure

* **Page Wrapper**: A `<div>` element serves as the main container for the page, with customizable attributes and classes.
* **Navigation Block**: A dedicated block for the page header, which can be customized or replaced as needed.
* **Content Block**: The main content area of the page, designed to be flexible for various types of content layouts.
* **Footer Block**: A separate block for the page footer, allowing for consistent footer content across the site.

###

### Usage

```twig
{% include 'radix:page' with {
  page_attributes: attributes.setAttribute('class', ['custom-class']),
  page_utility_classes: ['utility-class']
} %}
```


---

# 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/page.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.
