View all examples

Live Cursors

This example shows how to build live cursors with Liveblocks and esbuild.

Image of Live Cursors
Live preview

Open the example above and share it on multiple windows or devices to try it live.

Getting started

  • Install all dependencies with npm install
  • Create an account on liveblocks.io
  • Copy your public key from the dashboard
  • Replace pk_YOUR_PUBLIC_KEY in app.js by your public key
  • Run npm run build and open static/index.html in your browser

More examples