* Add Quickstart Guide * Update installation * Remove unused files * Update support/backing * Tweaks in concepts * Setup file structure for API reference 2.0 * Setup page layout for reference * Add clean-urls plugin * getting started updates * Finish authentication rest * getting started updates * Render stylus in 2 spaces * Various * Various * Finish activity docs * Add collections reference * Add extension reference * concepts updates * Fields/tweaks * Add files doc * Add revisions * concepts docs * More api reference * Finish rest api reference (finally) * initial concepts * More things * Add assets api ref * Move sections from file to assets * Add environment variables * contributing docs * Add field transforms page * Left align table headers * concept links * Add API config * Fix mobile nav * Add migrating a project * doc link fixes Co-authored-by: Ben Haynes <ben@rngr.org>
1.4 KiB
Interfaces
Interfaces determine how you view or interact with a field. In most cases, they offer some sort of input tailored to managing data of a specific type, but can also be used exclusively for presentation.
Interfaces provide different ways to view or interact with field data on the Item Detail page's form. Every interface supports a specific subset of field types (eg: String), which determines how the data will be stored. For example, the Text Input interface can manage most types of data, but might not be ideal for dates, where a Calendar interface excels.
Directus includes many Interfaces out-of-the-box, below are the some key examples:
- Checkboxes
- Code
- Color
- DateTime
- Divider
- Dropdown
- File
- Image
- Many-to-Many
- Many-to-One
- Markdown
- Notice
- Numeric
- One-to-Many
- Radio Buttons
- Repeater
- Slider
- Tags
- Text Input
- Textarea
- Toggle
- Translations
- WYSIWYG
Custom Interface Extensions
In addition to these core interfaces, custom interfaces allow for creating more tailored or proprietary ways to view or manage field data, such as bespoke layout builders, skeuomorphic knobs, or relational views for third-party data (eg: Stripe Credit Card UI).