# Folder Structure

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

{% tabs %}
{% tab title="Vite (TS)" %}
{% code title="berry-react-material-ts" %}

```typescript
...
├── src
│   ├── api                -> Mock Json data to be used for working apps
│   ├── assets
│   │   ├── image       
│   │   ├── scss           -> Different theme preset
│   ├── contexts           -> State context for Login management & config
│   ├── data               -> Static data
│   ├── hook               -> Custom hooks
│   ├── layout           
│   │   ├── Customization
│   │   ├── MainLayout     -> Layout for main components & routers
│   │   ├── MinimalLayout  -> Layout for mimimal components & routers
│   │   ├── SimpleLayout   -> Layout for simple components & routers
│   │   ├── NavigationScroll.tsx
│   │   ├── NavMotion.tsx
│   ├── menu-items         -> menu items
│   ├── routes             -> different route based on layouts
│   ├── store              -> Redux actions, reducers
│   │   ├── slices         -> different slices of toolkit
│   ├── themes             -> Contains application style and theme
│   ├── types              -> common types for Typescript
│   ├── ui-component       -> Template custom & reusable components
│   ├── utils
│   │   ├── locales        -> different locale JSON files
│   │   ├── route-guard    -> Auth guard to prevent unexpected navigations
│   ├── views
│   ├── App.tsx            -> starting point of application
│   ├── config.ts         -> Template constant value and live customization
│   └── index.tsx          -> Application root js file
├── .env                   -> Store configuration settings and environment variables
├── eslint.config.mjs      -> To configure ESLint rules 
├── .prettiertc            -> To Code formatting style rules
├── tsconfig.json
├── package-lock.json      -> File generated by npm
├── package.json           -> Contains metadata (name, version, dependencies, scripts, and other)
├── vite.config.mts
├── README.md
├── yarn.lock              -> File generated by yarn



```

{% endcode %}
{% endtab %}

{% tab title="Vite (JS)" %}
{% code title="berry-react-material-js" %}

```javascript
...
├── src
│   ├── api                -> Mock Json data to be used for working apps
│   ├── assets
│   │   ├── image       
│   │   ├── scss           -> Different theme preset
│   ├── contexts           -> State context for Login management & config
│   ├── data               -> Static data
│   ├── hook               -> Custom hooks
│   ├── layout           
│   │   ├── Customization
│   │   ├── MainLayout     -> Layout for main components & routers
│   │   ├── MinimalLayout  -> Layout for mimimal components & routers
│   │   ├── SimpleLayout   -> Layout for simple components & routers
│   │   ├── NavigationScroll.jsx
│   │   ├── NavMotion.jsx
│   ├── menu-items         -> menu items
│   ├── routes             -> different route based on layouts
│   ├── store              -> Redux actions, reducers
│   │   ├── slices         -> different slices of toolkit
│   ├── themes             -> Contains application style and theme
│   ├── ui-component       -> Template custom & reusable components
│   ├── utils
│   │   ├── locales        -> different locale JSON files
│   │   ├── route-guard    -> Auth guard to prevent unexpected navigations
│   ├── views
│   ├── App.jsx            -> starting point of application
│   ├── config.js         -> Template constant value and live customization
│   └── index.jsx          -> Application root js file
├── .env                   -> Store configuration settings and environment variables
├── eslint.config.mjs      -> 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)
├── vite.config.mjs
├── README.md
├── yarn.lock              -> File generated by yarn



```

{% endcode %}
{% endtab %}

{% tab title="Next (TS)" %}
{% code title="berry-react-material-next-ts" %}

```typescript
..
├── public
│   ├── assets/images             -> images in different directories
│   │   ├── auth
│   │   ├── cards
│   │   ├── docs
│   │   ├── ...
│   ├── favicon.ico
├── src
│   ├── api                -> Mock JSON data to be used for working apps
│   ├── app                -> Next js pages
│   │   ├── (dashboard)
│   │   │   ├── apps
│   │   │   ├── forms
│   │   │   ├── ...
│   │   ├── (minimal) 
│   │   │   ├── login
│   │   │   ├── ...
│   │   ├── (simple)
│   │   │   ├── pages
│   │   ├── ...
│   │   ├── page.tsx
│   ├── contexts           -> State context for Login and other
│   ├── Data               -> Custom data  
│   ├── hooks              -> Custom hooks
│   ├── layout
│   │   ├── Customization
│   │   ├── MainLayout     -> Layout for main components & routers
│   │   ├── MinimalLayout  -> Layout for minimal components & routers
│   │   ├── SimpleLayout   -> Layout for simple components & routers
│   │   ├── NavigationScroll.tsx
│   │   ├── NavMotion.tsx
│   ├── menu-items         -> menu items for each main menu
│   │   ├── application.tsx
│   │   ├── dashboard.tsx
│   │   ├── ...           
│   ├── scss               -> styles-themes
│   ├── store              -> Redux actions, reducers
│   │   ├── slices         -> different slices of toolkit 
│   │   ├── ...
│   ├── themes             -> Contains application style and theme
│   ├── types              -> common types for Typescript
│   ├── ui-component       -> Template custom & reusable components
│   ├── utils
│   │   ├── locales        -> different locale json files
│   │   ├── route-guard    -> Auth guard to prevent unexpected navigations
│   ├── views
│   │   ├── application
│   │   ├── dashboard
│   │   ├── ...
│   ├── config.ts           -> Template constant value and live customization 
├── .env                    -> Store configuration settings and environment variables
├── eslint.config.mjs       -> To configure ESLint rules
├── .prettiertc             -> To Code formatting style rules
├── tsconfig.json
├── next.config.ts          -> 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
```

{% endcode %}
{% endtab %}

{% tab title="Next (JS)" %}
{% code title="berry-react-material-next-js" %}

```javascript
..
├── public
│   ├── assets/images             -> images in different directories
│   │   ├── auth
│   │   ├── cards
│   │   ├── docs
│   │   ├── ...
│   ├── favicon.ico
├── src
│   ├── api                -> Mock JSON data to be used for working apps
│   ├── app                -> Next js pages
│   │   ├── (dashboard)
│   │   │   ├── apps
│   │   │   ├── forms
│   │   │   ├── ...
│   │   ├── (minimal) 
│   │   │   ├── login
│   │   │   ├── ...
│   │   ├── (simple)
│   │   │   ├── pages
│   │   ├── ...
│   │   ├── page.jsx
│   ├── contexts           -> State context for Login and other
│   ├── Data               -> Custom data  
│   ├── hooks              -> Custom hooks
│   ├── layout
│   │   ├── Customization
│   │   ├── MainLayout     -> Layout for main components & routers
│   │   ├── MinimalLayout  -> Layout for minimal components & routers
│   │   ├── SimpleLayout   -> Layout for simple components & routers
│   │   ├── NavigationScroll.jsx
│   │   ├── NavMotion.jsx
│   ├── menu-items         -> menu items for each main menu
│   │   ├── application.jsx
│   │   ├── dashboard.jsx
│   │   ├── ...           
│   ├── scss               -> styles-themes
│   ├── store              -> Redux actions, reducers
│   │   ├── slices         -> different slices of toolkit 
│   │   ├── ...
│   ├── themes             -> Contains application style and theme
│   ├── ui-component       -> Template custom & reusable components
│   ├── utils
│   │   ├── locales        -> different locale json files
│   │   ├── route-guard    -> Auth guard to prevent unexpected navigations
│   ├── views
│   │   ├── application
│   │   ├── dashboard
│   │   ├── ...
│   ├── config.ts           -> Template constant value and live customization 
├── .env                    -> Store configuration settings and environment variables
├── eslint.config.mjs       -> 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
```

{% endcode %}
{% endtab %}
{% endtabs %}


---

# 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://codedthemes.gitbook.io/berry/folder-structure.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.
