> For the complete documentation index, see [llms.txt](https://codedthemes.gitbook.io/mantis/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codedthemes.gitbook.io/mantis/v3.0.0/folder-structure.md).

# Folder Structure

Under th&#x65;**`mantis-material-react/`** directory, You will find the following folder structure.

{% tabs %}
{% tab title="Folder Structure (CRA)" %}

```javascript
mantis-material-react
..
├── public
├── src
│   ├── _api               -> Mock JSON data to be used for working apps
│   ├── assets
│   │   ├── images
│   │   ├── third-party    -> Third-party styles
│   ├── components         -> Common components used across a theme
│   │   ├── @extended      -> Extended components of MUI
│   │   ├── cards          -> Cards used at different locations
│   │   ├── logo
│   │   ├── third-party
│   │   ├── ...
│   ├── contexts           -> State context for Login management & config
│   ├── data               -> Static data
│   ├── hooks              -> Custom hooks
│   ├── layout
│   │   ├── Auth           -> Layout for login showcase
│   │   ├── Component      -> Layout for components showcase
│   │   ├── Dashboard      -> Layout for dashboard
│   │   ├── Pages          -> Blank pages
│   │   ├── Simple         -> Layout for landing and contact showcase
│   ├── menu-items         -> Menu items
│   ├── pages              -> View files for all pages
│   │   ├── apps
│   │   ├── auth
│   │   ├── ...
│   ├── routes             -> Different routes based on layouts
│   ├── sections           -> This contains different sections used only for pages
│   ├── themes             -> Contains application style and theme
│   │   ├── overrides      -> MUI overrides for each component
│   │   ├── theme          -> Different theme preset
│   │   ├── ...            -> Other theme-related setups
│   ├── utils
│   │   ├── locales        -> Different locale JSON files
│   │   ├── route-guard    -> Auth guard to prevent unexpected navigations
│   │   ├── ...            -> Other utils function
│   ├── App.js
│   ├── config.js          -> Different theme config
│   ├── index.js
├── .env                   -> Store configuration settings and environment variables
├── eslint.rc              -> To configure ESLint rules
├── .prettiertc            -> To Code formatting style rules
├── jsconfig.json
├── package-lock.json      -> File generated by npm
├── package.json           -> Contains metadata (name, version, dependencies, scripts, and other)
├── README.md
├── yarn.lock              -> File generated by yarn
```

{% endtab %}

{% tab title="nextJS" %}

```
mantis-material-react
..
├── public
│   ├── assets                  -> Images in different directories
│   │   ├── images
│   │   │   ├── auth
│   │   │   ├── cards
│   │   │   ├── docs
│   │   │   ├── ...
│   │   ├── third-party         -> Third-party styles
├── README.md
├── src
│   ├── api                     -> Mock JSON data to be used for working apps
│   ├── app                     -> Next js pages
│   │   ├── (auth)
│   │   │   ├── check-mail
│   │   │   ├── forget-pass
│   │   │   ├── ...
│   │   ├── (component)
│   │   │   ├── components-overview
│   │   │   │   ├── accordion
│   │   │   │   ├── autocomplete
│   │   │   │   ├── ...
│   │   ├── (dashboard)
│   │   │   ├── apps
│   │   │   ├── charts
│   │   │   ├── ...
│   │   ├── (simple)
│   │   │   ├── contact-us
│   │   │   ├── landing
│   │   ├── api                 -> NextAuth api
│   │   ├── pages
│   │   ├── ...
│   ├── components              -> Components used in different pages
│   │   ├── @extended           -> Extended components of MUI
│   │   ├── cards               -> Cards used at different locations
│   │   ├── logo
│   │   ├── third-party
│   │   ├── ...
│   ├── contexts                -> State context for Login and other
│   ├── data                    -> Static data
│   ├── hooks                   -> Custom hooks
│   ├── layout
│   │   ├── componentLayout     -> Layouts for Component
│   │   ├── DashboardLayout     -> Layout for main Dashboard
│   │   ├── SimpleLayout        -> Layout for simple page
│   ├── menu-items              -> Menu items
│   │   ├── application.js
│   │   ├── dashboard.js
│   │   ├── ...
│   ├── sections                -> This contains different sections used only for pages
│   │   ├── apps
│   │   ├── auth
│   │   ├── ...
│   ├── themes                  -> Contains application style and theme
│   ├── types                   -> Common types for Typescript. Exist only in Typescript
│   ├── utils
│   │   ├── locales             -> Different locale json files
│   │   ├── route-guard         -> Auth guard to prevent unexpected navigations
│   │   ├── ...                 -> Other utils function
│   ├── views                   -> View files for all pages
│   │   ├── apps
│   │   ├── auth
│   │   ├── ...
├── ├── config.js               -> Template constant value and Different theme config
├── .env                        -> Store configuration settings and environment variables
├── eslint.json                 -> To configure ESLint rules
├── .prettiertc                 -> To Code formatting style rules
├── jsconfig.json
├── next.config.js              -> To customize routes, webpack configurations, and more.
├── package-lock.json           -> File generated by npm
├── package.json                -> Contains metadata (name, version, dependencies, scripts, and other)
├── README.md
├── yarn.lock                   -> File generated by yarn
```

{% endtab %}
{% endtabs %}


---

# 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, and the optional `goal` query parameter:

```
GET https://codedthemes.gitbook.io/mantis/v3.0.0/folder-structure.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
