Knock React SDK
Learn more about integrating Knock into your web applications through our React SDK.
Our @knocklabs/react
library lets you create notification experiences using Knock's APIs. It comes with pre-built UI components that you can use to easily get up-and-running with a fully functional notification feed experience in your product.
⚠️
New Knock React components. If you're currently using
@knocklabs/react-notification-feed
, check out our migration guide to learn how to use our new React library.The React library is built on-top of the @knocklabs/client
JS SDK and includes that library as an implicit dependency.
You can also use the library to build:
- Floating notification feeds
- Real-time notification toasts
- Notification inboxes
- Custom notification UI
- Notification preferences
Quick links:
@knocklabs/react
on npm@knocklabs/client
on npm- Package on Github
- React SDK reference
- JS SDK reference
Need help?
Our React library is worked on full-time by the Knock JavaScript team.
Join the community
Ask questions and find answers on those following platforms:
Provide feedback
- Open an issue
- Use the "Help" dropdown at the top of this page to contact support.
Contributing
All contributors are welcome, from casual to regular. Feel free to open a pull request.