Home / Function/ CardsCookieSettings() — ui Function Reference

CardsCookieSettings() — ui Function Reference

Architecture documentation for the CardsCookieSettings() function in cookie-settings.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  56b47e1a_1686_52d0_c0e7_847aa42cc230["CardsCookieSettings()"]
  a49f47a2_734e_978a_7b4f_8e8ba4ab94f2["cookie-settings.tsx"]
  56b47e1a_1686_52d0_c0e7_847aa42cc230 -->|defined in| a49f47a2_734e_978a_7b4f_8e8ba4ab94f2
  style 56b47e1a_1686_52d0_c0e7_847aa42cc230 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/components/cards/cookie-settings.tsx lines 19–43

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>
  )
}

Subdomains

Frequently Asked Questions

What does CardsCookieSettings() do?
CardsCookieSettings() is a function in the ui codebase, defined in apps/v4/components/cards/cookie-settings.tsx.
Where is CardsCookieSettings() defined?
CardsCookieSettings() is defined in apps/v4/components/cards/cookie-settings.tsx at line 19.

Analyze Your Own Codebase

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

Try Supermodel Free