NSW Design System defines cards as a high-level summary of content related to a single topic for users to navigate to.
Cards group information into meaningful sections, providing concise information in a condensed space to allow users to distinguish between content and find information easily. The information in a card outlines the main idea of a product, service, or piece of information, allowing a user to click through for further information.
Because it, card does not have a footer with actions. Instead, the whole
card works as a link. The footer argument of the card is
ignored and href argument must be used to specify card's link
Cards have 4 variants: standard card without specific variant, dark, light,
and highlight
Cards support tag and date parameters to enrich
the output. Tags can be used to specify categories applied to the card as a
plain text. Date adds temporal information to the card and its recommended
to use datetime component
for it.
Cards can be rendered horizontally using horizontal parameter.