AccordionInCard() — ui Function Reference
Architecture documentation for the AccordionInCard() function in accordion-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 08fdc86a_a89e_106e_af20_51263049cf3d["AccordionInCard()"] 109831b8_6d36_384f_fc0c_f16bc28a4f95["accordion-example.tsx"] 08fdc86a_a89e_106e_af20_51263049cf3d -->|defined in| 109831b8_6d36_384f_fc0c_f16bc28a4f95 style 08fdc86a_a89e_106e_af20_51263049cf3d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/accordion-example.tsx lines 155–288
function AccordionInCard() {
const items = [
{
value: "plans",
trigger: "What subscription plans do you offer?",
content: (
<>
<p>
We offer three subscription tiers: Starter ($9/month), Professional
($29/month), and Enterprise ($99/month). Each plan includes
increasing storage limits, API access, priority support, and team
collaboration features.
</p>
<p>
<a href="#">Annual billing is available</a> with a 20% discount. All
plans include a 14-day free trial with no credit card required.
</p>
<Button size="sm">
View plans
<IconPlaceholder
lucide="ArrowUpRightIcon"
tabler="IconArrowUpRight"
hugeicons="ArrowUpRight01Icon"
phosphor="ArrowUpRightIcon"
remixicon="RiArrowRightUpLine"
/>
</Button>
</>
),
},
{
value: "billing",
trigger: "How does billing work?",
content: (
<>
<p>
Billing occurs automatically at the start of each billing cycle. We
accept all major credit cards, PayPal, and ACH transfers for
enterprise customers.
</p>
<p>
You'll receive an invoice via email after each payment. You can
update your payment method or billing information anytime in your
account settings. Failed payments will trigger automated retry
attempts and email notifications.
</p>
</>
),
},
{
value: "upgrade",
trigger: "Can I upgrade or downgrade my plan?",
content: (
<>
<p>
Yes, you can change your plan at any time. When upgrading,
you'll be charged a prorated amount for the remainder of your
billing cycle and immediately gain access to new features.
</p>
<p>
When downgrading, the change takes effect at the end of your current
billing period, and you'll retain access to premium features
until then. No refunds are provided for downgrades.
</p>
</>
),
},
{
value: "cancel",
trigger: "How do I cancel my subscription?",
content: (
<>
<p>
You can cancel your subscription anytime from your account settings.
There are no cancellation fees or penalties. Your access will
continue until the end of your current billing period.
</p>
<p>
After cancellation, your data is retained for 30 days in case you
want to reactivate. You can export all your data before or after
canceling. We'd love to hear your feedback about why
Domain
Subdomains
Source
Frequently Asked Questions
What does AccordionInCard() do?
AccordionInCard() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/accordion-example.tsx.
Where is AccordionInCard() defined?
AccordionInCard() is defined in apps/v4/registry/bases/base/examples/accordion-example.tsx at line 155.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free