Components
API reference for the built-in Clarity components.
Components
Clarity components are pure functions that accept props and return static markup.
<Route />
Declares a route along with its handler.
<Route path="/users" handler={listUsers} />
<ErrorBoundary />
Catches render errors within a specific subtree.
<ErrorBoundary fallback={<ErrorPage />}>
<Dashboard />
</ErrorBoundary>