Docs
Search the documentation
⌘K
FR
0.2.0-preview.67
Playground
GitHub
COMMENCER ICI
Premiers pas
ARCHITECTURE
Vue d'ensemble de l'architecture
Composants write-once
Surface déclarative
Architecture des paquets
Composants
Styles
Localisation
Analytics et GTM
WRITE-ONCE
Moteur Photon
Design System
Capacités
Stockage
Formulaires
Éditeur de code
Vue de tableau
Markdown
Mermaid
Rendu des e-mails
COMPILATION
Compilateur
Fonctionnalités C# prises en charge
Résolution des types externes
Flux de build
Diagnostics
RUNTIME
Runtime (TypeScript)
Performance
SERVEUR
Intégration serveur
Événements serveur
Uploads
Assets
BunPackage
Sécurité
ÉCOSYSTÈME
Image
Graphiques
Icônes
Lottie
DÉVELOPPEMENT
Éditeur visuel
Débogage
Roadmap
Docs
Lists & data
Accordion
View source
1 min read
Progressive disclosure: a header row that expands to reveal secondary content.
1
using
eQuantic
.
UI
.
Components
;
STATES
Section title
collapsed
Section title
The panel body.
expanded
Usage
1
2
3
4
5
new
Accordion
{
Items
=
[
new
AccordionItem
(
"What fees apply to transfers?"
)
{
Content
=
new
FeesAnswer
()
}
],
Multiple
=
false
,
}
API
Prop
Type
Default
Description
Multiple
bool
false
Allows several panels open at once;
false
closes the others.
Item.Content
VisualNode?
null
The revealed content.
States
State
Rendering
Collapsed
Chevron down, height zero
Expanded
Chevron rotated, height animates over
Motion.State
Pressed
Header wash
Accessibility
•
The header is a button carrying the expanded state; the content follows it in the focus order.
When to use
•
FAQs, breakdowns, optional detail.
Avoid
•
Hiding primary actions.
•
Nested accordions.
NOTE
Every dimension resolves through
Sizing.*(SizeVariant)
and the token scales — never a literal. Source:
src/eQuantic.UI.Components/Accordion.cs
.
PREVIOUS
Table
NEXT
CodeBlock
ON THIS PAGE
Usage
API
States
Accessibility
When to use
Avoid