@lynx-js/lynx-ui-toast
v3.143.0
Published
A Toast component for ReactLynx. It displays lightweight transient feedback messages.
Readme
@lynx-js/lynx-ui-toast
A Toast component for ReactLynx. It displays lightweight transient feedback messages.
Installation
We strongly recommend installing and using this package through the main @lynx-js/lynx-ui package:
# pnpm (recommended)
pnpm add @lynx-js/lynx-ui
# npm
npm install @lynx-js/lynx-ui
# yarn
yarn add @lynx-js/lynx-ui(If necessary, you can still install the standalone package via pnpm add @lynx-js/lynx-ui-toast)
Usage
Component Structure
<ToastRoot show={show}>
<ToastPositioner>
<ToastContent>{/* Your content */}</ToastContent>
</ToastPositioner>
</ToastRoot>About @lynx-js/lynx-ui
This package is part of @lynx-js/lynx-ui, a headless UI library officially maintained by the Lynx team for building flexible, universal, and high-performance ReactLynx components.
License
lynx-ui is Apache License 2.0 licensed.
