Accordion

A vertically stacked set of interactive headings that each reveal a section of content.

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.

Installation

ng g @spartan-ng/cli:ui accordion

Usage

import { HlmAccordionImports } from '@spartan-ng/helm/accordion';
<hlm-accordion>
  <hlm-accordion-item>
    <hlm-accordion-trigger>Is it accessible?</hlm-accordion-trigger>
    <hlm-accordion-content> Yes. It adheres to the WAI-ARIA design pattern. </hlm-accordion-content>
  </hlm-accordion-item>
</hlm-accordion>

Examples

Multiple

The type input can be set to 'multiple' to allow multiple items to be opened at the same time.

The isOpened input can be used to set the initial state of an accordion item.

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.

Disabled

Use the disabled prop on the hlm-accordion-item to disable an item.

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.

Borders

Add border to the hlm-accordion and border-b last:border-b-0 to the hlm-accordion-item to add borders to the items.

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.

Card

Wrap the hlm-accordion inside a hlm-card component.

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.

RTL

To enable RTL support in spartan-ng, see the RTL configuration guide.

انقر على 'نسيت كلمة المرور' في صفحة تسجيل الدخول، أدخل عنوان بريدك الإلكتروني، وسنرسل لك رابطًا لإعادة تعيين كلمة المرور. سينتهي صلاحية الرابط خلال 24 ساعة.

نعم، يمكنك ترقية أو تخفيض خطتك في أي وقت من إعدادات حسابك. ستظهر التغييرات في دورة الفوترة التالية.

نقبل جميع بطاقات الائتمان الرئيسية و PayPal والتحويلات المصرفية. تتم معالجة جميع المدفوعات بأمان من خلال شركاء الدفع لدينا.

Brain API

BrnAccordionContent

Selector: brn-accordion-content,[brnAccordionContent]

Inputs

PropTypeDefaultDescription
style string overflow: hidden The style to be applied to the host element after the dimensions are calculated.

BrnAccordionHeader

Selector: [brnAccordionHeader]

BrnAccordionItem

Selector: [brnAccordionItem]

ExportAs: brnAccordionItem

Inputs

PropTypeDefaultDescription
isOpened boolean false Whether the item is opened or closed.
disabled boolean false Whether the item is disabled.

Outputs

PropTypeDefaultDescription
stateChange 'open' | 'closed' - Emits boolean when the item is opened or closed.
openedChange boolean - Emits state change when item is opened or closed

BrnAccordionTrigger

Selector: button[brnAccordionTrigger]

BrnAccordion

Selector: [brnAccordion]

ExportAs: brnAccordion

Inputs

PropTypeDefaultDescription
type 'single' | 'multiple' single Whether the accordion is in single or multiple mode.
orientation 'horizontal' | 'vertical' vertical The orientation of the accordion, either 'horizontal' or 'vertical'.

Helm API

HlmAccordionContent

Selector: hlm-accordion-content

HlmAccordionItem

Selector: [hlmAccordionItem],hlm-accordion-item

HlmAccordionTrigger

Selector: hlm-accordion-trigger

Inputs

PropTypeDefaultDescription
triggerClass ClassValue --

HlmAccordion

Selector: [hlmAccordion], hlm-accordion

Alert Components