Docs
Buscar na documentação
⌘K
PT
0.2.0-preview.61
Playground
GitHub
COMECE AQUI
Primeiros passos
ARQUITETURA
Visão geral da arquitetura
Componentes write-once
Superfície declarativa
Arquitetura de pacotes
Componentes
Estilo
Localização
Analytics e GTM
WRITE-ONCE
Motor Photon
Design System
Capacidades
Armazenamento
Formulários
Editor de código
Markdown
Mermaid
Renderização de Email
COMPILAÇÃO
Compilador
Recursos C# suportados
Resolução de tipos externos
Fluxo de build
Diagnósticos
RUNTIME
Runtime (TypeScript)
Performance
SERVIDOR
Integração com o servidor
Eventos do servidor
Assets
BunPackage
Segurança
ECOSSISTEMA
Image
Gráficos
Ícones
Lottie
DESENVOLVIMENTO
Editor visual
Depuração
Roadmap
Atualizar de versão
Docs
Lists & data
Accordion
Ver código-fonte
1 min de leitura
Progressive disclosure: a header row that expands to reveal secondary content.
1
using
eQuantic
.
UI
.
Components
;
STATES
Título da seção
collapsed
Título da seção
O conteúdo do painel.
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
.
ANTERIOR
Table
PRÓXIMA
CodeBlock
NESTA PÁGINA
Usage
API
States
Accessibility
When to use
Avoid