ds-svelte-community
Nais Docs
Pages
  • Home
  • CSS
  • Icons
Typography
  • BodyLong
  • BodyShort
  • Detail
Components
  • Accordion
  • ActionMenu Beta
  • Alert
  • Button
  • Checkbox
  • Chips
  • ConfirmationPanel
  • CopyButton
  • ErrorSummary
  • ExpansionCard
  • GuidePanel
  • HelpText
  • InternalHeader Beta
  • List
  • Loader
  • Modal
  • Pagination
  • Popover
  • Radio
  • ReadMore
  • Search
  • Select
  • Skeleton
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag
  • TextField
  • ToggleGroup
  • Tooltip
Primitives
  • Bleed
  • Box

Version: 1.0.0
Try dark darkside
Try light darkside

ExpansionCard

ExpansionCard collects information or actions in a box that expands and collapses based on user interaction.

Read more about this component in the Aksel documentation.

    Default

Some title

Extended description

Properties

PropertyDescriptionDefault
Control
Properties
header
required
string Snippet -
description
string Snippet -
open
bindable
boolean false
showMoreTitle
string "Show more"
size
"small" "medium" "medium"
Snippets
children -
header -
description -
Events
ontoggle -

Properties included from: Omit<HTMLAttributes<HTMLElement>, "ontoggle">