Skip to content

OcCard component

Description

The OcCard component represents a simple card element consisting of a body and an optional header and footer. It is used to group related information in a visually distinct container.

Examples

Default

Styling

Visually, the default card mainly handles spacing and alignment. The card can then be customized via the provided properties headerClass, bodyClass and footerClass or simply by using utility classes on the card.

Slots

The card can display custom content using the default slot.

Properties

Emits

Slots