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

accordion-demo.tsx — ui Source File

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

File tsx ComponentRegistry ChartRegistry 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  5239474b_a758_a7dc_89a5_be44edcc8733["accordion-demo.tsx"]
  673cf0d2_23b7_59d3_ceed_8e6ee3a5a63c["accordion"]
  5239474b_a758_a7dc_89a5_be44edcc8733 --> 673cf0d2_23b7_59d3_ceed_8e6ee3a5a63c
  style 5239474b_a758_a7dc_89a5_be44edcc8733 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Accordion,
  AccordionContent,
  AccordionItem,
  AccordionTrigger,
} from "@/registry/new-york-v4/ui/accordion"

export default function AccordionDemo() {
  return (
    <Accordion
      type="single"
      collapsible
      className="w-full"
      defaultValue="item-1"
    >
      <AccordionItem value="item-1">
        <AccordionTrigger>Product Information</AccordionTrigger>
        <AccordionContent className="flex flex-col gap-4 text-balance">
          <p>
            Our flagship product combines cutting-edge technology with sleek
            design. Built with premium materials, it offers unparalleled
            performance and reliability.
          </p>
          <p>
            Key features include advanced processing capabilities, and an
            intuitive user interface designed for both beginners and experts.
          </p>
        </AccordionContent>
      </AccordionItem>
      <AccordionItem value="item-2">
        <AccordionTrigger>Shipping Details</AccordionTrigger>
        <AccordionContent className="flex flex-col gap-4 text-balance">
          <p>
            We offer worldwide shipping through trusted courier partners.
            Standard delivery takes 3-5 business days, while express shipping
            ensures delivery within 1-2 business days.
          </p>
          <p>
            All orders are carefully packaged and fully insured. Track your
            shipment in real-time through our dedicated tracking portal.
          </p>
        </AccordionContent>
      </AccordionItem>
      <AccordionItem value="item-3">
        <AccordionTrigger>Return Policy</AccordionTrigger>
        <AccordionContent className="flex flex-col gap-4 text-balance">
          <p>
            We stand behind our products with a comprehensive 30-day return
            policy. If you&apos;re not completely satisfied, simply return the
            item in its original condition.
          </p>
          <p>
            Our hassle-free return process includes free return shipping and
            full refunds processed within 48 hours of receiving the returned
            item.
          </p>
        </AccordionContent>
      </AccordionItem>
    </Accordion>
  )
}

Subdomains

Functions

Dependencies

  • accordion

Frequently Asked Questions

What does accordion-demo.tsx do?
accordion-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in accordion-demo.tsx?
accordion-demo.tsx defines 1 function(s): AccordionDemo.
What does accordion-demo.tsx depend on?
accordion-demo.tsx imports 1 module(s): accordion.
Where is accordion-demo.tsx in the architecture?
accordion-demo.tsx is located at apps/v4/registry/new-york-v4/examples/accordion-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).

Analyze Your Own Codebase

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

Try Supermodel Free