@xsolla/xui-feedback
v0.173.2
Published
Convenience meta-package that re-exports every feedback component from the toolkit. Install one package instead of many; refer to each component's own page for detailed API and accessibility notes.
Readme
Feedback
Convenience meta-package that re-exports every feedback component from the toolkit. Install one package instead of many; refer to each component's own page for detailed API and accessibility notes.
Installation
npm install @xsolla/xui-feedbackImports
import { Notification, Spinner, Tooltip, Toggletip } from '@xsolla/xui-feedback';Quick start
import { Notification, Tooltip, Spinner } from '@xsolla/xui-feedback';
export default function Example() {
return (
<>
<Notification tone="success" title="Saved" />
<Tooltip content="More info"><button>Hover</button></Tooltip>
<Spinner />
</>
);
}Re-exported packages
| Component(s) | Source package |
| :----------- | :------------- |
| Notification | @xsolla/xui-notification |
| NotificationPanel | @xsolla/xui-notification-panel |
| Spinner | @xsolla/xui-spinner |
| Toggletip | @xsolla/xui-toggletip |
| Tooltip | @xsolla/xui-tooltip |
See each component's dedicated page for props, examples, and accessibility details.
