Components
The ui-react component set — Base UI primitives, themed by design tokens.
The @acronis-platform/ui-react library ships a set of accessible React
components built on Base UI primitives and themed
entirely by generated design tokens. Every component is fully typed and
tree-shakeable.
Importing
All public components are imported from the package root, and the stylesheet is imported once at your app entry point:
import '@acronis-platform/ui-react/styles';
import { Button, Input, Avatar } from '@acronis-platform/ui-react';The styles import pulls in the --ui-* custom properties from
@acronis-platform/tokens-pd and the Tailwind bridge that maps them onto the
components. Without it, components render unstyled.
How the components work
- Base UI under the hood — keyboard navigation, focus management, and ARIA
come from
@base-ui/react. Components that render a single element expose arenderprop (Base UI'suseRender) for polymorphism instead ofasChild. - Token-driven theming — colors and metrics resolve to
--ui-*tokens generated from the design system; light/dark vialight-dark(), brands via the[data-theme]attribute. Nothing is hard-coded. - Tree-shakeable — import only what you use; unused components are dropped by the bundler.
Browse
Button
Triggers an action or event.
Input
Single-line text entry with adornments.
Checkbox
Binary on/off selection.
Radio
Mutually exclusive selection within a group.
Switch
Toggle between two states.
Select
Choose one option from a list.
Avatar
Represents a user or entity.
Tag
Compact label for status or metadata.
Breadcrumb
Shows the path to the current page.
Tooltip
Contextual hint on hover or focus.
Sidebar
Primary and secondary navigation rails.
Resizable
Draggable split panels.