Skip to main content English Español Claro Oscuro Sistema

Card

<gstock-card> | GstockCard

API

Propiedades

Nombre Descripción Reflects Tipo Por defecto
headerDivider
header-divider
Shows a divider below the header. Reflects boolean true
footerDivider
footer-divider
Shows a divider above the footer. Reflects boolean true
padding The card’s padding. Reflects 'none' | 'small' | 'medium' | 'large' 'medium'
variant The card’s variant style. Reflects 'default' | 'outlined' | 'elevated' 'default'
updateComplete

A read-only promise that resolves when the component has finished updating.

Aprende más sobre atributos y propiedades .

Slots

Nombre Descripción
default The card’s main content.
header The card’s header section.
footer The card’s footer section.
image An optional image to display at the top of the card.

Aprende más sobre slots .

Partes

Nombre Descripción
base The component’s base wrapper.
image The card’s image container.
header The card’s header section.
body The card’s body section.
footer The card’s footer section.

Aprende más sobre partes CSS .