CardsCookieSettings() — ui Function Reference
Architecture documentation for the CardsCookieSettings() function in cookie-settings.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b62f7022_e823_8743_07aa_c357778856c1["CardsCookieSettings()"] 70d38120_2d41_26ac_d022_5e1dd084c2bb["cookie-settings.tsx"] b62f7022_e823_8743_07aa_c357778856c1 -->|defined in| 70d38120_2d41_26ac_d022_5e1dd084c2bb style b62f7022_e823_8743_07aa_c357778856c1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/components/cards/cookie-settings.tsx lines 15–60
export function CardsCookieSettings() {
return (
<Card>
<CardHeader>
<CardTitle>Cookie Settings</CardTitle>
<CardDescription>Manage your cookie settings here.</CardDescription>
</CardHeader>
<CardContent className="grid gap-6">
<div className="flex items-center justify-between space-x-4">
<Label htmlFor="necessary" className="flex flex-col space-y-1">
<span>Strictly Necessary</span>
<span className="text-xs font-normal leading-snug text-muted-foreground">
These cookies are essential in order to use the website and use
its features.
</span>
</Label>
<Switch id="necessary" defaultChecked aria-label="Necessary" />
</div>
<div className="flex items-center justify-between space-x-4">
<Label htmlFor="functional" className="flex flex-col space-y-1">
<span>Functional Cookies</span>
<span className="text-xs font-normal leading-snug text-muted-foreground">
These cookies allow the website to provide personalized
functionality.
</span>
</Label>
<Switch id="functional" aria-label="Functional" />
</div>
<div className="flex items-center justify-between space-x-4">
<Label htmlFor="performance" className="flex flex-col space-y-1">
<span>Performance Cookies</span>
<span className="text-xs font-normal leading-snug text-muted-foreground">
These cookies help to improve the performance of the website.
</span>
</Label>
<Switch id="performance" aria-label="Performance" />
</div>
</CardContent>
<CardFooter>
<Button variant="outline" className="w-full">
Save preferences
</Button>
</CardFooter>
</Card>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does CardsCookieSettings() do?
CardsCookieSettings() is a function in the ui codebase, defined in deprecated/www/components/cards/cookie-settings.tsx.
Where is CardsCookieSettings() defined?
CardsCookieSettings() is defined in deprecated/www/components/cards/cookie-settings.tsx at line 15.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free