---
title: Plugin folder
project: Pluginable
version: 0.0.1
section: reference
language: en
license: MIT
url: https://totaljs.es/docs/pluginable/0-0-1/reference/plugin-folder/
updated: 2026-11-19T07:46:16.797Z
---

# Plugin folder

> The files and folders of a plugin.

Every folder in `plugins` is one plugin. Pluginable loads all of them on start. The sample **Products** plugin looks like this:

```text
plugins/products/
├── index.js
├── schemas/
│   └── products.js
└── public/
    ├── index.html
    └── detail.html
```

## index.js

Describes the plugin: its name, icon, position in the menu, routes, permissions and settings. Required. See [Plugin options](../plugin-options/).

## schemas

The server actions of the plugin, one or more `.js` files with `NEWACTION(...)`. The `ROUTE` lines in `index.js` make them available to the screens.

## public

The screens of the plugin:

- `index.html`: the main screen, opened from the menu at `/admin/<folder>/`.
- Other `.html` files: extra screens listed in `exports.routes`, such as `detail.html`. See [Add a detail page](../../recipes/add-detail-page/).

## Built-in plugins

| Folder | What it does |
|---|---|
| `admin` | Sign-in page, admin account and account menu. |
| `settings` | The Settings screen. |
| `products`, `profiles` | Samples. See [Sample plugins](../../guides/sample-plugins/). |
