notifications.tsx — ui Source File
Architecture documentation for notifications.tsx, a tsx file in the ui codebase. 2 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR eafe3e81_63b8_26f4_88f6_e139c75b865c["notifications.tsx"] d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] eafe3e81_63b8_26f4_88f6_e139c75b865c --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 95a7752f_4b97_5bde_5d7d_fca03536ac35["card"] eafe3e81_63b8_26f4_88f6_e139c75b865c --> 95a7752f_4b97_5bde_5d7d_fca03536ac35 72f1b829_240b_a010_b4ad_dfef30ded6bf["page.tsx"] 72f1b829_240b_a010_b4ad_dfef30ded6bf --> eafe3e81_63b8_26f4_88f6_e139c75b865c style eafe3e81_63b8_26f4_88f6_e139c75b865c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Bell, EyeOff, User } from "lucide-react"
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/registry/new-york/ui/card"
export function DemoNotifications() {
return (
<Card>
<CardHeader className="pb-3">
<CardTitle>Notifications</CardTitle>
<CardDescription>
Choose what you want to be notified about.
</CardDescription>
</CardHeader>
<CardContent className="grid gap-1">
<div className="-mx-2 flex items-start space-x-4 rounded-md p-2 transition-all hover:bg-accent hover:text-accent-foreground">
<Bell className="mt-px h-5 w-5" />
<div className="space-y-1">
<p className="text-sm font-medium leading-none">Everything</p>
<p className="text-sm text-muted-foreground">
Email digest, mentions & all activity.
</p>
</div>
</div>
<div className="-mx-2 flex items-start space-x-4 rounded-md bg-accent p-2 text-accent-foreground transition-all">
<User className="mt-px h-5 w-5" />
<div className="space-y-1">
<p className="text-sm font-medium leading-none">Available</p>
<p className="text-sm text-muted-foreground">
Only mentions and comments.
</p>
</div>
</div>
<div className="-mx-2 flex items-start space-x-4 rounded-md p-2 transition-all hover:bg-accent hover:text-accent-foreground">
<EyeOff className="mt-px h-5 w-5" />
<div className="space-y-1">
<p className="text-sm font-medium leading-none">Ignoring</p>
<p className="text-sm text-muted-foreground">
Turn off all notifications.
</p>
</div>
</div>
</CardContent>
</Card>
)
}
Domain
Subdomains
Functions
Dependencies
- card
- lucide-react
Imported By
Source
Frequently Asked Questions
What does notifications.tsx do?
notifications.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in notifications.tsx?
notifications.tsx defines 1 function(s): DemoNotifications.
What does notifications.tsx depend on?
notifications.tsx imports 2 module(s): card, lucide-react.
What files import notifications.tsx?
notifications.tsx is imported by 1 file(s): page.tsx.
Where is notifications.tsx in the architecture?
notifications.tsx is located at deprecated/www/app/(app)/examples/cards/components/notifications.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: deprecated/www/app/(app)/examples/cards/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free