Extensions Overview
Directus has been built to be extensible - both allowing for powerful enhancements to be built for single projects, and for publishing in the Directus Marketplace.
Extensions in Directus run within the same environment as the main application, allowing them to leverage existing access to underlying services and UI components.
App Extensions
App Extensions extend the functionality of the Data Studio.
Interfaces
Interfaces are form inputs used primarily inside of the Editor. Interfaces are the primary way users interact with data inside of Directus. Custom interfaces can be used for use cases with unique interaction needs, complex data entry, and any time you need to add elements to the editor.
Displays
Displays are small components that are used to display a single value throughout the Data Studio. Displays receive a single value and any custom display options that are defined in the display entrypoint. They are then expected to render the value in a user-friendly way.
Layouts
Layouts allow for listing of items in Explore pages. Layouts receive a collection, filters, searches, and any custom layout options that are defined in the layout entrypoint. They are then expected to fetch and render the items from a collection.
Panels
Panels are customizable components within Insights dashboards. Panels are the building blocks of analytics dashboards, enabling rapid, no-code creation of data visualizations with data from a Directus project. Panels can also contain interactive elements, making them suitable for building custom internal applications within dashboards.
Modules
Modules are top-level areas of the Data Studio, navigated to from the left-hand module bar. They will load at the specified routes. The Data Studio splits up functionality into modules - the content module, the files module, the user module, the insights module, and the settings module. Extensions can add new modules to the Data Studio.
Themes
Themes are used to style the Data Studio. They can be used to change the colors, fonts, and other visual elements of the Data Studio.
API Extensions
API Extensions extend the functionality of the API.
Hooks
Hooks allow running code when events occur within Directus. Events are triggered on schedules, database events, or during the Directus application lifecycle.
Endpoints
Endpoints allow you to register new API routes in your Directus project.
Operations
Operations are single steps in a Flow - the no-code automation tool part of Automate.