# Manage Collection

* **Component**: \<ManageCollection/>
* **Path**: /components/shared/manage-collection.tsx
* **Import**:

```typescript
import { ManageCollection } from "@/components/shared/manage-collection";
```

<figure><img src="/files/sGbj0CrzLWd0IU2FhXbi" alt=""><figcaption><p>Submit Product Modal</p></figcaption></figure>

This component is used by both users and admins to create AND edit their collections.\
The aim here is to mutualize and avoid multiplying user interface components.

{% hint style="info" %}
Feature this collection Checkbox is obviously admin-only feature, handled by [NextAuth Sessions](https://next-auth.js.org/getting-started/client#usesession).
{% endhint %}


---

# 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/manage-collection.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.
