Directus is built to be modular and extensible. You can create custom extensions to add new functionality to both the API and admin app.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/directus/directus/llms.txt
Use this file to discover all available pages before exploring further.
Extension Types
Interfaces
Custom field input components
Layouts
Custom ways to view collection items
Displays
Custom field display components
Panels
Custom dashboard panel types
Modules
Full custom pages and navigation
Operations
Custom flow operation types
Hooks
Server-side event hooks
Endpoints
Custom API endpoints
Creating Extensions
Use the create-directus-extension package to scaffold new extensions:Extension Structure
All extensions follow a similar structure:Installing Extensions
Local Extensions
Place extensions in theextensions folder:
Extension Packages
Install from npm:Extension Marketplace
Browse and install extensions directly from the admin app: Settings > Extensions > MarketplaceDevelopment
Hot Reload
Enable automatic reloading during development:Building
Build your extension:Testing
Link your extension for local testing:Next Steps
Extensions SDK
Start building your first extension