# @xsolla/xui-primitives-core

> **Internal package — do not use directly.** This package is used internally to build toolkit components. Consumers should use the published components (e.g. `@xsolla/xui-button`, `@xsolla/xui-controls`).

Shared TypeScript types for cross-platform primitive components in the XUI toolkit.

## Exports

- `BoxProps` — Props interface for layout container primitives (flexbox, spacing, borders, events, ARIA)
- `TextProps` — Props interface for text primitives (colour, fontSize, fontWeight, alignment)
- `SpinnerProps` — Props interface for loading spinner primitives
- `IconProps` — Props interface for icon primitives (name, colour, size)
- `DividerProps` — Props interface for divider/separator primitives
- `InputPrimitiveProps` — Props interface for text input primitives (value, onChange, inputMode, autoComplete, ARIA)
- `TextAreaPrimitiveProps` — Props interface for textarea primitives; extends `InputPrimitiveProps` with `rows` and `autoSize`
