Components
@shadcn/react
@shadcn/helpers
Utilities
We offer standard (5-7 days), express (2-3 days), and overnight shipping. Free shipping on international orders.
Returns accepted within 30 days. Items must be unused and in original packaging. Refunds processed within 5-7 business days.
Reach us via email, live chat, or phone. We respond within 24 hours during business days.
import {
Accordion,
AccordionContent,安装#
pnpm dlx shadcn@latest add accordion
用法#
import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
} from "@/components/ui/accordion"<Accordion defaultExpandedKeys={["item-1"]}>
<AccordionItem id="item-1">
<AccordionTrigger>它具有可访问性吗?</AccordionTrigger>
<AccordionContent>
是的。它遵循 WAI-ARIA 设计模式。
</AccordionContent>
</AccordionItem>
</Accordion>组成#
使用以下组成来构建一个 Accordion:
Accordion
├── AccordionItem
│ ├── AccordionTrigger
│ └── AccordionContent
└── AccordionItem
├── AccordionTrigger
└── AccordionContent基础#
一次显示一个项目的基础手风琴。第一个项目默认处于展开状态。
Click on 'Forgot Password' on the login page, enter your email address, and we'll send you a link to reset your password. The link will expire in 24 hours.
Yes, you can upgrade or downgrade your plan at any time from your account settings. Changes will be reflected in your next billing cycle.
We accept all major credit cards, PayPal, and bank transfers. All payments are processed securely through our payment partners.
import {
Accordion,
AccordionContent,多个#
使用 allowsMultipleExpanded 属性允许多个项目同时展开。
Manage how you receive notifications. You can enable email alerts for updates or push notifications for mobile devices.
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.
View your current plan, payment history, and upcoming invoices. Update your payment method, change your subscription tier, or cancel your subscription.
import {
Accordion,
AccordionContent,已禁用#
在 AccordionItem 上使用 isDisabled 属性来禁用单个项目。
Yes, you can view your complete account history including all transactions, plan changes, and support tickets in the Account History section of your dashboard.
This section contains information about premium features. Upgrade your plan to access this content.
You can update your email address in your account settings. You'll receive a verification email at your new address to confirm the change.
import {
Accordion,
AccordionContent,边框#
将 border 添加到 Accordion,并将 border-b last:border-b-0 添加到 AccordionItem,即可为项目添加边框。
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.
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.
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.
import {
Accordion,
AccordionContent,卡片#
将 Accordion 包裹在 Card 组件中。
Subscription & Billing
Common questions about your account, plans, payments and cancellations.
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.
Billing occurs automatically at the start of each billing cycle. We accept all major credit cards, PayPal, and ACH transfers for enterprise customers. You'll receive an invoice via email after each payment.
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.
import {
Accordion,
AccordionContent,RTL#
要在 shadcn/ui 中启用 RTL 支持,请参阅 RTL 配置指南。
انقر على 'نسيت كلمة المرور' في صفحة تسجيل الدخول، أدخل عنوان بريدك الإلكتروني، وسنرسل لك رابطًا لإعادة تعيين كلمة المرور. سينتهي صلاحية الرابط خلال 24 ساعة.
نعم، يمكنك ترقية أو تخفيض خطتك في أي وقت من إعدادات حسابك. ستظهر التغييرات في دورة الفوترة التالية.
نقبل جميع بطاقات الائتمان الرئيسية و PayPal والتحويلات المصرفية. تتم معالجة جميع المدفوعات بأمان من خلال شركاء الدفع لدينا.
"use client"
import * as React from "react"API 参考#
更多信息请参阅 React Aria 文档。