Home / File/ accordion-multiple.tsx — ui Source File

accordion-multiple.tsx — ui Source File

Architecture documentation for accordion-multiple.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.

File tsx DocumentationAtlas Changelog 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  22ba2985_31c8_27b2_c2f3_d47ad590c272["accordion-multiple.tsx"]
  b1a177f1_96cd_6e99_5633_38f2675548fd["accordion"]
  22ba2985_31c8_27b2_c2f3_d47ad590c272 --> b1a177f1_96cd_6e99_5633_38f2675548fd
  style 22ba2985_31c8_27b2_c2f3_d47ad590c272 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Accordion,
  AccordionContent,
  AccordionItem,
  AccordionTrigger,
} from "@/examples/base/ui/accordion"

const items = [
  {
    value: "notifications",
    trigger: "Notification Settings",
    content:
      "Manage how you receive notifications. You can enable email alerts for updates or push notifications for mobile devices.",
  },
  {
    value: "privacy",
    trigger: "Privacy & Security",
    content:
      "Control your privacy settings and security preferences. Enable two-factor authentication, manage connected devices, review active sessions, and configure data sharing preferences. You can also download your data or delete your account.",
  },
  {
    value: "billing",
    trigger: "Billing & Subscription",
    content:
      "View your current plan, payment history, and upcoming invoices. Update your payment method, change your subscription tier, or cancel your subscription.",
  },
]

export function AccordionMultiple() {
  return (
    <Accordion multiple className="max-w-lg" defaultValue={["notifications"]}>
      {items.map((item) => (
        <AccordionItem key={item.value} value={item.value}>
          <AccordionTrigger>{item.trigger}</AccordionTrigger>
          <AccordionContent>{item.content}</AccordionContent>
        </AccordionItem>
      ))}
    </Accordion>
  )
}

Subdomains

Dependencies

  • accordion

Frequently Asked Questions

What does accordion-multiple.tsx do?
accordion-multiple.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in accordion-multiple.tsx?
accordion-multiple.tsx defines 1 function(s): AccordionMultiple.
What does accordion-multiple.tsx depend on?
accordion-multiple.tsx imports 1 module(s): accordion.
Where is accordion-multiple.tsx in the architecture?
accordion-multiple.tsx is located at apps/v4/examples/base/accordion-multiple.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/base).

Analyze Your Own Codebase

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

Try Supermodel Free