Home / File/ providers.tsx — ui Source File

providers.tsx — ui Source File

Architecture documentation for providers.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx ComponentRegistry UIPrimitives 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  2869a698_9d13_cda6_f156_04dfbdd4e0c6["providers.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  2869a698_9d13_cda6_f156_04dfbdd4e0c6 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  75d25ec8_fe84_91a4_54c6_20dabb286f91["next-themes"]
  2869a698_9d13_cda6_f156_04dfbdd4e0c6 --> 75d25ec8_fe84_91a4_54c6_20dabb286f91
  style 2869a698_9d13_cda6_f156_04dfbdd4e0c6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import { ThemeProvider as NextThemesProvider } from "next-themes"

export function Providers({ children }: { children: React.ReactNode }) {
  return (
    <NextThemesProvider
      attribute="class"
      defaultTheme="system"
      enableSystem
      disableTransitionOnChange
      enableColorScheme
    >
      {children}
    </NextThemesProvider>
  )
}

Subdomains

Functions

Dependencies

  • next-themes
  • react

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): Providers.
What does providers.tsx depend on?
providers.tsx imports 2 module(s): next-themes, react.
Where is providers.tsx in the architecture?
providers.tsx is located at templates/monorepo-next/apps/web/components/providers.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: templates/monorepo-next/apps/web/components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free