> For the complete documentation index, see [llms.txt](https://docs.rierino.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rierino.com/sdk-core-ui/getting-started/readme.md). Agents can also search and read this documentation through its [MCP server](https://docs.rierino.com/~gitbook/mcp).

# Introduction

Accessible, themed React components for building Rierino screens.

`@rierino-open/core-ui` is the component library behind Rierino's user interfaces. The admin UI, the built-in widgets and any custom code you write inside Rierino all render with it, so your screens look and behave like the rest of the platform.

## What's inside

* **Form controls:** `Button`, `TextField`, `Input`, `Checkbox`, `CheckboxGroup`, `RadioGroup`, `Radio`, `Switch`, `Slider`, `Rating`, `AutocompleteInput`, `AutocompleteBase`
* **Layout and navigation:** `Grid`, `Tabs`, `TabList`, `Tab`, `TabPanel`, `TreeView`, `Menu`
* **Overlays:** `Modal`, `Popover`, `ClickAwayListener`
* **Dates:** `Calendar`
* **Data visualization:** the `DV` namespace, also available as the separate `@rierino-open/core-ui/dv` entry point

## How it's built

<table data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>React Aria underneath</strong></td><td>Interactive components are built on <a href="https://react-spectrum.adobe.com/react-aria/">React Aria Components</a>, so keyboard navigation, focus management, screen reader support and touch input work without extra effort.</td></tr><tr><td><strong>Styled with Tailwind CSS</strong></td><td>Styles come from Tailwind CSS and <code>tailwind-variants</code>. The package ships one compiled stylesheet, so your app doesn't need its own Tailwind setup.</td></tr><tr><td><strong>Rierino theme</strong></td><td>Colours, gradients and fonts follow the Rierino palette. A component looks the same in your app as it does in the admin UI.</td></tr><tr><td><strong>Tested</strong></td><td>Every component has unit, behaviour and real-browser tests (Vitest and Playwright), run on every pull request.</td></tr></tbody></table>

## Things that differ from plain HTML

Because the components follow React Aria's conventions, a few props differ from the DOM elements you might expect:

| You might write | Write instead | Why                                                       |
| --------------- | ------------- | --------------------------------------------------------- |
| `onClick`       | `onPress`     | Press events treat mouse, touch and keyboard the same way |
| `disabled`      | `isDisabled`  | React Aria naming for state props                         |
| `invalid`       | `isInvalid`   | Same convention                                           |

`TextField` is an exception: its `onChange` receives a normal DOM change event, so `e.target.value` works as usual.

## Where to go next

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Installation</strong></td><td>Add the package to a React app and load its styles.</td><td><a href="https://docs.rierino.com/sdk-core-ui/getting-started/installation.md">Installation</a></td></tr><tr><td><strong>Usage in hosted editors</strong></td><td>Use Core UI in custom lists, editors, pages and widgets you write inside Rierino.</td><td><a href="https://docs.rierino.com/sdk-core-ui/guides/hosted-editors.md">Usage in hosted editors</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rierino.com/sdk-core-ui/getting-started/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
