BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Supabase UI Library/realtime-cursor-react

Realtime Cursor

supabase-ui-library/realtime-cursor-react
UnverifiedComponent

Component which renders realtime cursors from other users in a room.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/aimultiple-benchmark/supabase-bench-cr-2/main/apps/ui-library/public/r/realtime-cursor-react.json

Source

registry/default/blocks/realtime-cursor/components/cursor.tsxraw.githubusercontent.com/aimultiple-benchmark/supabase-bench-cr-2/main/apps/ui-library/public/r/realtime-cursor-react.json
1import { MousePointer2 } from 'lucide-react'
2
3import { cn } from '@/lib/utils'
4
5export const Cursor = ({
6 className,
7 style,
8 color,
9 name,
10}: {
11 className?: string
12 style?: React.CSSProperties
13 color: string
14 name: string
15}) => {
16 return (
17 <div className={cn('pointer-events-none', className)} style={style}>
18 <MousePointer2 color={color} fill={color} size={30} />
19
20 <div
21 className="mt-1 px-2 py-1 rounded-sm text-xs font-bold text-white text-center"
22 style={{ backgroundColor: color }}
23 >
24 {name}
25 </div>
26 </div>
27 )
28}

What it pulls in

npm packages

  • lucide-react
  • @supabase/supabase-js@latest

Files it writes

  • registry/default/blocks/realtime-cursor/components/cursor.tsx
  • registry/default/blocks/realtime-cursor/components/realtime-cursors.tsx
  • registry/default/blocks/realtime-cursor/hooks/use-realtime-cursors.ts
  • registry/default/clients/react/lib/supabase/client.ts

Facts

Registry
Supabase UI Library
Type
registry:component
Access
Unverified
Files written
4
Licence
Apache-2.0
First indexed
2026-08-01
Last confirmed
yesterday

Go to the source

supabase.com aimultiple-benchmark/supabase-bench-cr-2 on GitHub Raw registry item This item as JSON

More from Supabase UI Library

All 37 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Current User Avatarcurrent-user-avatar-nextjsSupabase UI LibraryComponentsUnverified2 deps · 6 files
Current User Avatarcurrent-user-avatar-reactSupabase UI LibraryComponentsUnverified1 dep · 4 files
Current User Avatarcurrent-user-avatar-react-routerSupabase UI LibraryComponentsUnverified2 deps · 5 files
Current User Avatarcurrent-user-avatar-tanstackSupabase UI LibraryComponentsUnverified2 deps · 5 files
Dropzone (File Upload)dropzone-nextjsSupabase UI LibraryComponentsUnverified4 deps · 5 files
Dropzone (File Upload)dropzone-reactSupabase UI LibraryComponentsUnverified3 deps · 3 files
Dropzone (File Upload)dropzone-react-routerSupabase UI LibraryComponentsUnverified4 deps · 4 files
Dropzone (File Upload)dropzone-tanstackSupabase UI LibraryComponentsUnverified4 deps · 4 files
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex