<nve-accordion>
Properties
Determines whether the accordion should opt-in to stateful expansion behavior (defaults to stateless)
true
false
This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. MDN
true The element has a disabled state and does not accept interaction.
false The element has an enabled state and accepts interaction.
Indicates whether collapsible content is currently visible or hidden from the user. MDN
true The associated content expands and becomes visible to the user.
false The associated content collapses and hides from the user.
Demonstrates different container styles to accommodate visual weight and context.
flat Element has white space bounds but reduced visual container.
inset Element container optimizes for embedding or inset placement inside another containing element.
Enables updating internal string values for internationalization.
Slots
content element (Use accordion-content or custom content)
header element (Use accordion-header or custom content)
icon elements to display for expand/collapse
This is a default/unnamed slot for accordion content
Invoker Commands
use to toggle the accordion
use to close the accordion
use to open the accordion
CSS Properties
CSS Parts
The toggle icon button element
<nve-accordion-header>
Properties
string
Slots
slot for suffix content
slot for prefix content
default content slot
CSS Properties
<nve-accordion-content>
Slots
This is a default/unnamed slot for accordion content
CSS Properties
<nve-accordion-group>
Properties
Demonstrates different container styles to accommodate visual weight and context.
flat Element has white space bounds but reduced visual container.
inset Element container optimizes for embedding or inset placement inside another containing element.
Determines whether the accordion should opt-in to stateful expansion of a single accordion at a time
true
false
Determines whether the accordion should opt-in to stateful expansion behavior (defaults to stateless)
true
false
Slots
This is a default slot for accordions within the group