---
title: Common Components
---

The Common module provides reusable UI components and the styling setup primitive that serve as building blocks for applications.

## Components

- **CratisComponentsProvider**: Single setup point for Cratis Components — wraps PrimeReact's `PrimeReactProvider` and hosts the `pt`, `unstyled`, locale, and other global configuration.
- **Icon / IconDisplay**: Unified icon type that accepts a PrimeIcons CSS class string or any React node.
- **Page**: Layout primitive for consistent page structures.
- **FormElement**: Lightweight wrapper that places an icon addon to the left of a form input.
- **ErrorBoundary**: Error handling for React component trees.

## See Also

- [CratisComponentsProvider](/components/common/cratis-components-provider/) — global setup, `pt` / `unstyled` configuration
- [Icon](/components/common/icon/) - Icon type and IconDisplay component
- [Page](/components/common/page/) - Page layout component
- [FormElement](/components/common/form-element/) - Form field icon-addon wrapper
- [ErrorBoundary](/components/common/error-boundary/) - Error boundary component
- [Styling Overview](/components/styling/) — the supported styling options and how Common fits in
