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

accordion-borders.tsx — ui Source File

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

File tsx DocumentationAtlas SearchAPI 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  68a5bf1e_88c5_9bfe_7aac_c618f82db1c1["accordion-borders.tsx"]
  b1a177f1_96cd_6e99_5633_38f2675548fd["accordion"]
  68a5bf1e_88c5_9bfe_7aac_c618f82db1c1 --> b1a177f1_96cd_6e99_5633_38f2675548fd
  style 68a5bf1e_88c5_9bfe_7aac_c618f82db1c1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

const items = [
  {
    value: "billing",
    trigger: "How does billing work?",
    content:
      "We offer monthly and annual subscription plans. Billing is charged at the beginning of each cycle, and you can cancel anytime. All plans include automatic backups, 24/7 support, and unlimited team members.",
  },
  {
    value: "security",
    trigger: "Is my data secure?",
    content:
      "Yes. We use end-to-end encryption, SOC 2 Type II compliance, and regular third-party security audits. All data is encrypted at rest and in transit using industry-standard protocols.",
  },
  {
    value: "integration",
    trigger: "What integrations do you support?",
    content:
      "We integrate with 500+ popular tools including Slack, Zapier, Salesforce, HubSpot, and more. You can also build custom integrations using our REST API and webhooks.",
  },
]

export default function AccordionBorders() {
  return (
    <Accordion
      className="max-w-lg rounded-lg border"
      defaultValue={["billing"]}
    >
      {items.map((item) => (
        <AccordionItem
          key={item.value}
          value={item.value}
          className="border-b px-4 last:border-b-0"
        >
          <AccordionTrigger>{item.trigger}</AccordionTrigger>
          <AccordionContent>{item.content}</AccordionContent>
        </AccordionItem>
      ))}
    </Accordion>
  )
}

Subdomains

Functions

Dependencies

  • accordion

Frequently Asked Questions

What does accordion-borders.tsx do?
accordion-borders.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in accordion-borders.tsx?
accordion-borders.tsx defines 1 function(s): AccordionBorders.
What does accordion-borders.tsx depend on?
accordion-borders.tsx imports 1 module(s): accordion.
Where is accordion-borders.tsx in the architecture?
accordion-borders.tsx is located at apps/v4/examples/base/accordion-borders.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, 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