> For the complete documentation index, see [llms.txt](https://phoenixcoded.gitbook.io/saasable/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phoenixcoded.gitbook.io/saasable/ui-kit/development/components/cookie/cookie3.md).

# Cookie3

{% hint style="info" %}
All available props for the Cookie3 component are defined and handled within **Component usage path** file. This allows for easy modifications to the content of the cookie section.
{% endhint %}

**Component path**: `src/blocks/cookie/Cookie3.tsx`

**Component usage path:**  `src/app/blocks/cookie/cookie3/page.tsx`

**Preview link:** [**https://www.saasable.io/blocks/cookie/cookie3**](https://www.saasable.io/blocks/cookie/cookie3)

## Props Details

| Prop             | Type                                     | Description                                                                                   | Displayed as                                                                                                                      |
| ---------------- | ---------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| **heading**      | `string`                                 | Main title of the cookie notification card.                                                   | `"Special Offer Just for You"`                                                                                                    |
| **primaryBtn**   | `ButtonProps`                            | Properties for the primary button, typically used for the main action like accepting cookies. | `{ variant: 'outlined', color: 'primary', onClick: () => console.log('Primary button clicked'), children: 'Accept' }`             |
| **secondaryBtn** | `ButtonProps`                            | Properties for the secondary button, often used for additional actions or information.        | `{ variant: 'contained', color: 'secondary', onClick: () => console.log('Secondary button clicked'), children: 'Learn More' }`    |
| **cookie**       | `{ caption: string; link?: LinkProps; }` | Contains caption text and an optional link for more details about cookies.                    | `{ caption: "We use cookies to ensure you get the best experience.", link: { href: "/privacy-policy", children: "Learn more" } }` |


---

# 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://phoenixcoded.gitbook.io/saasable/ui-kit/development/components/cookie/cookie3.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.
