BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/lemma/lemma-notification-bell

Lemma Notification Bell

lemma/lemma-notification-bell
UnverifiedBlock

A notification bell icon button with a badge showing unread count and a popover listing recent notifications with mark-as-read support.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/lemma-work/lemma-platform/main/lemma-typescript/lemma-notification-bell.json

Source

registry/default/lemma-notification-bell/components/lemma-notification-bell.tsxraw.githubusercontent.com/lemma-work/lemma-platform/main/lemma-typescript/lemma-notification-bell.json · first 6 KB
1"use client"
2
3import * as React from "react"
4import { Bell, Check } from "lucide-react"
5import { Badge } from "@/components/lemma/ui/badge"
6import { Button } from "@/components/lemma/ui/button"
7import {
8 Popover,
9 PopoverContent,
10 PopoverTrigger,
11} from "@/components/lemma/ui/popover"
12import { Separator } from "@/components/lemma/ui/separator"
13import { Skeleton } from "@/components/lemma/ui/skeleton"
14import { useRecords, useUpdateRecord } from "lemma-sdk/react"
15import type { LemmaClient } from "lemma-sdk"
16import { cn } from "@/components/lemma/lib/utils"
17
18export type LemmaNotificationBellAppearance = "default" | "borderless" | "minimal" | "contained"
19export type LemmaNotificationBellDensity = "compact" | "comfortable" | "spacious"
20export type LemmaNotificationBellRadius = "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full"
21
22export interface LemmaNotificationBellProps {
23 client: LemmaClient
24 podId?: string
25 tableName?: string
26 enabled?: boolean
27 titleField?: string
28 bodyField?: string
29 readField?: string
30 timestampField?: string
31 limit?: number
32 appearance?: LemmaNotificationBellAppearance
33 density?: LemmaNotificationBellDensity
34 radius?: LemmaNotificationBellRadius
35 onNotificationClick?: (notification: Record<string, unknown>) => void
36 className?: string
37}
38
39type NotificationRecord = Record<string, unknown>
40
41const RADIUS_MAP: Record<LemmaNotificationBellRadius, Record<string, string>> = {
42 none: { surface: "rounded-none", control: "rounded-none", pill: "rounded-none", overlay: "rounded-none" },
43 sm: { surface: "rounded-sm", control: "rounded-sm", pill: "rounded-full", overlay: "rounded-sm" },
44 md: { surface: "rounded-md", control: "rounded-md", pill: "rounded-full", overlay: "rounded-md" },
45 lg: { surface: "rounded-lg", control: "rounded-md", pill: "rounded-full", overlay: "rounded-lg" },
46 xl: { surface: "rounded-xl", control: "rounded-lg", pill: "rounded-full", overlay: "rounded-xl" },
47 "2xl": { surface: "rounded-2xl", control: "rounded-xl", pill: "rounded-full", overlay: "rounded-2xl" },
48 "3xl": { surface: "rounded-3xl", control: "rounded-2xl", pill: "rounded-full", overlay: "rounded-3xl" },
49 full: { surface: "rounded-3xl", control: "rounded-full", pill: "rounded-full", overlay: "rounded-3xl" },
50}
51
52function bellRadiusClassName(
53 radius: LemmaNotificationBellRadius,
54 kind: "surface" | "control" | "pill" | "overlay",
55): string {
56 return RADIUS_MAP[radius]?.[kind] ?? RADIUS_MAP.lg[kind]
57}
58
59// … truncated

What it pulls in

npm packages

  • lemma-sdk
  • lucide-react
  • clsx
  • tailwind-merge

Other registry items

  • lemma-ui

Files it writes

  • registry/default/lemma-notification-bell/components/lemma-notification-bell.tsx

Facts

Registry
lemma
Type
registry:block
Access
Unverified
Files written
1
Licence
AGPL-3.0
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

lemma.work lemma-work/lemma-platform on GitHub Raw registry item This item as JSON

More from lemma

All 20 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Lemma Action Surfacelemma-action-surfacelemmaBlocksUnverified4 deps
Lemma Activity Feedlemma-activity-feedlemmaBlocksUnverified4 deps · 3 files
Lemma Agent Conversation Experiencelemma-assistant-experiencelemmaBlocksUnverified7 deps · 3 files
Lemma Breadcrumbslemma-breadcrumbslemmaBlocksUnverified3 deps
Lemma Commentslemma-commentslemmaBlocksUnverified4 deps · 3 files
Lemma Detail Panellemma-detail-panellemmaBlocksUnverified4 deps · 7 files
Lemma Document Workspacelemma-document-workspacelemmaBlocksUnverified6 deps
Lemma File Browserlemma-file-browserlemmaBlocksUnverified4 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex