TILE
Design system and UI components.
TILE is a design system for React apps. It gives you accessible, themed UI components in @dxos/react-ui, and in
@dxos/ui-theme the tokens and build plugin behind them. A token is a named color or size that the components
read in place of a fixed value. TILE needs neither ECHO, DXOS’s database, nor
PLEX, its plugin framework, so you can use it in any React app.
Each demo below is a TILE component package running in this page, on sample data and with no database. You can drag the cards, edit the cells and move the boxes. The demos follow the page’s light or dark mode, and each card’s header opens the component’s API page.
Core and component packages
Section titled “Core and component packages”TILE comes as a core and the component packages built on it:
| Package | What it holds |
|---|---|
@dxos/react-ui |
The components, such as buttons, inputs, overlays, menus, layout, status and icons, and the theme provider |
@dxos/ui-theme |
The color and size tokens, the cascade layers, and the Vite plugin that generates the styles |
The other @dxos/react-ui-* packages |
Lists, forms, menus, editors, tables and more, built on the core |
The API section documents the core first. Each component package then has a group of its own, with one page per
component, such as Board in @dxos/react-ui-mosaic.
Composer, DXOS’s local-first workspace, and its plugins draw their UI with TILE. TILE in a PLEX plugin says what changes when your components run inside a plugin.
How these pages are organized
Section titled “How these pages are organized”- Start here has two more pages. Why TILE? makes the case for the design, and Build with a coding agent gives your agent the skills DXOS uses.
- Learning path builds a contacts screen step by step, starting at The TILE component. Its Installation page adds TILE to a Vite app.
- Core concepts describe one idea each: Theme and tokens, Composite components, Layout, Density and sizes, Focus and keyboard and Translations and icons.
- API opens each page with the component running.
- Guides cover one job each: Custom themes and dark mode, TILE in a PLEX plugin and Testing and stories.
- Resources has the Glossary, the generated API reference and llms.txt for agents.