Skip to main content

What the layout layer covers

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.

In this section

views-pipelines
Views
defineView — saved list configurations: visible columns, filters, groups.
card-page-navigation
Navigation Menu Items
defineNavigationMenuItem — sidebar entries pointing at views or external URLs.
card-page-page-layouts
Page Layouts
definePageLayout, definePageLayoutTab and definePageLayoutWidget — tabs and widgets on a record’s detail page.
card-page-front-components
Front Components
defineFrontComponent — sandboxed React components that render inside Twenty.
card-page-command-menu
Command Menu Items
defineCommandMenuItem — register front components as Cmd+K entries and quick actions.

Where the app surfaces

Front components run inside an isolated Web Worker using Remote DOM — they render natively in the page (not inside an iframe), but cannot reach the host page or DOM directly. Communication with Twenty happens through a message-passing host API. They are still under active development: the sandbox implements a partial DOM, so advanced usages can fail. See Current limitations.