providers.tsx — ui Source File
Architecture documentation for providers.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR f4bf738b_b343_641a_0b09_797bc867b467["providers.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] f4bf738b_b343_641a_0b09_797bc867b467 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 cba8a664_3253_9b8c_8abe_9f0e33bbc037["jotai"] f4bf738b_b343_641a_0b09_797bc867b467 --> cba8a664_3253_9b8c_8abe_9f0e33bbc037 75d25ec8_fe84_91a4_54c6_20dabb286f91["next-themes"] f4bf738b_b343_641a_0b09_797bc867b467 --> 75d25ec8_fe84_91a4_54c6_20dabb286f91 4ad968a1_2bd7_248c_f5ed_f80d5b5f7417["tooltip"] f4bf738b_b343_641a_0b09_797bc867b467 --> 4ad968a1_2bd7_248c_f5ed_f80d5b5f7417 style f4bf738b_b343_641a_0b09_797bc867b467 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Provider as JotaiProvider } from "jotai"
import { ThemeProvider as NextThemesProvider } from "next-themes"
import { TooltipProvider } from "@/registry/new-york/ui/tooltip"
export function ThemeProvider({
children,
...props
}: React.ComponentProps<typeof NextThemesProvider>) {
return (
<JotaiProvider>
<NextThemesProvider {...props}>
<TooltipProvider delayDuration={0}>{children}</TooltipProvider>
</NextThemesProvider>
</JotaiProvider>
)
}
Domain
Subdomains
Functions
Dependencies
- jotai
- next-themes
- react
- tooltip
Source
Frequently Asked Questions
What does providers.tsx do?
providers.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 providers.tsx?
providers.tsx defines 1 function(s): ThemeProvider.
What does providers.tsx depend on?
providers.tsx imports 4 module(s): jotai, next-themes, react, tooltip.
Where is providers.tsx in the architecture?
providers.tsx is located at deprecated/www/components/providers.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: deprecated/www/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free