Files
ionic-framework/core/src/components/card

ion-card

Cards are a standard piece of UI that serves as an entry point to more detailed information. A card can be a single component, but is often made up of some header, title, subtitle, and content. ion-card is broken up into several sub-components to reflect this. Please see ion-card-content, ion-card-header, ion-card-title, ion-card-subtitle.

Properties

color

string

The color to use for the background. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark".

mode

The mode determines which platform styles to use. Possible values are: "ios" or "md".

Attributes

color

string

The color to use for the background. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark".

mode

The mode determines which platform styles to use. Possible values are: "ios" or "md".


Built with StencilJS