A Twenty app’s layout layer is everything the user sees: where the app surfaces in the sidebar, which list views it ships, how its record detail pages are arranged, and which custom React components render inside those pages.Documentation Index
Fetch the complete documentation index at: https://docs.twenty.com/llms.txt
Use this file to discover all available pages before exploring further.
In this section
Views
defineView — saved list configurations: visible columns, filters, groups.Navigation Menu Items
defineNavigationMenuItem — sidebar entries pointing at views or external URLs.Page Layouts
definePageLayout and definePageLayoutTab — tabs and widgets on a record’s detail page.Front Components
defineFrontComponent — sandboxed React components that render inside Twenty.Command Menu Items
defineCommandMenuItem — register front components as Cmd+K entries and quick actions.Where the app surfaces
| Surface | What it controls | Entity |
|---|---|---|
| Sidebar | A custom entry linking to a saved view or external URL | defineNavigationMenuItem |
| Record list | A saved configuration for an object — visible columns, order, filters, groups | defineView |
| Record detail page | The tabs and widgets on a record page (your own object’s, or a standard one) | definePageLayout, definePageLayoutTab |
| Inside any of the above | A custom React widget — buttons, forms, dashboards, integrations | defineFrontComponent |
| Command menu (Cmd+K) | A pinned quick action or hidden command | defineCommandMenuItem |