Guides
Customizing default states
Customize loading, error and empty states.
Components have three customizable states that you can override to match your application’s design:
- Loading state: Shown while data is being fetched
- Error state: Displayed when an error occurs
- Empty state: Appears when no data is available
You can customize these states globally for all components using ThemeProvider
:
You can also customize these states for individual components using the renderLoader
, errorFallback
, and renderEmpty
props:
Was this page helpful?