--- title: Card desc: Flexible and extensible content container with multiple variants and options. ico: mdi:card-text keywords: - container controls: - name: title type: text label: Title desc: Card header title default: 'Card header' - name: body type: text label: Body desc: Card body content default: 'Lorem ipsum' - name: bordered type: toggle label: Bordered desc: Add a border around the entire card. default: false - name: action type: toggle label: Actionable desc: Show action placeholders. default: false - name: collapse type: toggle label: Collapsible desc: NOT compatible with Actionable. Allows the card body to collapse by clicking on the header. This works just like details/summary tags but with a smoother animation. default: false - name: collapseIndent type: toggle label: Collapsible Indent desc: ONLY compatible with Collapsible. Indents the body content to line up with the header text (minus the chevron). default: false previewHeight: 25 preview: |
code: html: |{body}
{cSpace}