# Feature Product

* **Component**: \<FeatureProduct/>
* **Path**: /components/shared/feature-product.tsx
* **Import**:

```typescript
import { FeatureProductred} from "@/components/shared/feature-product.tsx";
```

<figure><img src="/files/BSvDjxFVqMR4KNfsYzbu" alt=""><figcaption><p>Feature Product Modal</p></figcaption></figure>

The Feature Product allow the customers to select the product they want to feature (it's pre-selected on actual product page) and simply choose the desired amount of days they want it featured with a slider.

This will update the LemonSqueezy payment link with all the data needed and bring them to the payment page.

{% hint style="info" %}
Be sure to fill `NEXT_PUBLIC_LEMONSQUEEZY_FEATURED_LINK_KEY` value in your `.env` file.
{% endhint %}

You can find this "key" in your LemonSqueezy Product Page, under the Share section:

<figure><img src="/files/QYLIOWxHlOax1xzffokK" alt=""><figcaption><p><a href="https://app.lemonsqueezy.com/products">app.lemonsqueezy.com/products</a></p></figcaption></figure>

<figure><img src="/files/AOzghNjsZmlLTA1yZI4W" alt=""><figcaption><p><a href="https://app.lemonsqueezy.com/share/">app.lemonsqueezy.com/share/</a>****</p></figcaption></figure>


---

# 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/directory-components/feature-product.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.
