Common Components
The Common module provides reusable UI components and the styling setup primitive that serve as building blocks for applications.
Components
Section titled “Components”- CratisComponentsProvider: Single setup point for Cratis Components — wraps PrimeReact’s
PrimeReactProviderand hosts thept,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
Section titled “See Also”- CratisComponentsProvider — global setup,
pt/unstyledconfiguration - Icon - Icon type and IconDisplay component
- Page - Page layout component
- FormElement - Form field icon-addon wrapper
- ErrorBoundary - Error boundary component
- Styling Overview — the supported styling options and how Common fits in