> For the complete documentation index, see [llms.txt](https://docs.directoryfa.st/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.directoryfa.st/general-components/hero-section.md).

# Hero Section

### Side Hero

* **Component**: \<HeroSide/>
* **Path**: /components/home/hero-side.tsx
* **Import**:

```typescript
import { HeroSide } from "@/components/home/hero-side";
```

<figure><img src="/files/eakVCictK2TbNC4hRMuK" alt=""><figcaption><p>Side Hero</p></figcaption></figure>

Side Hero is best suited for information-rich directories where you can't afford to lose space.

It can be used to showcase your website concept with an image or a video too.

### Center Hero

* **Component**: \<HeroCenter/>
* **Path**: /components/home/hero-center.tsx
* **Import**:

```typescript
import { HeroCenter } from "@/components/home/hero-center";
```

<figure><img src="/files/G7dK03AkMYqFOItsmI6d" alt=""><figcaption><p>Side Hero</p></figcaption></figure>

Since most directories are self-explanatory, Centered Hero will naturally lead visitors to action.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/hero-section.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.
