Building in-app UI in Javascript (Web)

Learn more about the in-app notification UI you can build in your web application with Knock.
💡
If you're looking to use pre-built in-app UI elements for a web application, you can look at React components.

The Knock Javascript client SDK is a low-level set of methods for interacting with the Knock APIs from client-side Javascript web applications. The SDK is designed to help you easily integrate Knock into your application and build in-app notification experiences powered by Knock.

Features

  • API methods for interacting with the Knock in-app API.
  • Managed websocket connections to the Knock real-time service.
  • State management for powering in-app feeds, with optimistic client-side updates.

Getting started