Skip to content

💬 cursor chat à la Figma for digital co-existing + presence

License

Notifications You must be signed in to change notification settings

voicelane/cursor-chat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cursor-chat

💬 lightweight (29.59kB) cursor chat à la Figma for digital co-existing + presence

As a warning, this library is for experimental purposes and should not be used in production (but very suitable for personal websites and playful experiments!).

Built on top of yjs and perfect-cursors

For a React version of this library, check out y-presence.

Demo

Cursor Chat Demo

Press / to start chatting and esc

Usage

Include this fragment in your HTML somewhere to include the base HTML divs, the compiled JavaScript bundle, and the styling.

<div id="cursor-chat-layer">
  <input type="text" id="cursor-chat-box">
</div>
<script src="https://unpkg.com/cursor-chat"></script>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/cursor-chat/dist/style.css"/>

About

💬 cursor chat à la Figma for digital co-existing + presence

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 72.9%
  • CSS 12.4%
  • HTML 11.7%
  • JavaScript 3.0%