cookie-settings.tsx — ui Source File
Architecture documentation for cookie-settings.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR a49f47a2_734e_978a_7b4f_8e8ba4ab94f2["cookie-settings.tsx"] 57e86e45_ac6e_7278_be08_9092724e8401["button"] a49f47a2_734e_978a_7b4f_8e8ba4ab94f2 --> 57e86e45_ac6e_7278_be08_9092724e8401 c6d6139d_ea69_3d79_5004_68419bae2ac0["card"] a49f47a2_734e_978a_7b4f_8e8ba4ab94f2 --> c6d6139d_ea69_3d79_5004_68419bae2ac0 169af77a_46c3_8fec_4801_f34a0f1a3471["field"] a49f47a2_734e_978a_7b4f_8e8ba4ab94f2 --> 169af77a_46c3_8fec_4801_f34a0f1a3471 38ebb3c2_9638_6c9d_8ced_a16ec1ff06c9["switch"] a49f47a2_734e_978a_7b4f_8e8ba4ab94f2 --> 38ebb3c2_9638_6c9d_8ced_a16ec1ff06c9 style a49f47a2_734e_978a_7b4f_8e8ba4ab94f2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import { Button } from "@/registry/new-york-v4/ui/button"
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/registry/new-york-v4/ui/card"
import {
Field,
FieldContent,
FieldDescription,
FieldLabel,
} from "@/registry/new-york-v4/ui/field"
import { Switch } from "@/registry/new-york-v4/ui/switch"
export function CardsCookieSettings() {
return (
<Card>
<CardHeader>
<CardTitle>Cookie Settings</CardTitle>
<CardDescription>Manage your cookie settings here.</CardDescription>
</CardHeader>
<CardContent className="grid gap-6">
<Field orientation="horizontal">
<FieldContent>
<FieldLabel htmlFor="necessary">Strictly Necessary</FieldLabel>
<FieldDescription>
These cookies are essential in order to use the website and use
its features.
</FieldDescription>
</FieldContent>
<Switch id="necessary" defaultChecked aria-label="Necessary" />
</Field>
<Field>
<Button variant="outline">Save preferences</Button>
</Field>
</CardContent>
</Card>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- card
- field
- switch
Source
Frequently Asked Questions
What does cookie-settings.tsx do?
cookie-settings.tsx is a source file in the ui codebase, written in tsx. It belongs to the Internationalization domain, Dictionary subdomain.
What functions are defined in cookie-settings.tsx?
cookie-settings.tsx defines 1 function(s): CardsCookieSettings.
What does cookie-settings.tsx depend on?
cookie-settings.tsx imports 4 module(s): button, card, field, switch.
Where is cookie-settings.tsx in the architecture?
cookie-settings.tsx is located at apps/v4/components/cards/cookie-settings.tsx (domain: Internationalization, subdomain: Dictionary, directory: apps/v4/components/cards).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free