Try Install Learn Blog API Packages GitHub
Pages
mint-ui

Search
Basic information
Entities
Versions
Dependencies
mint-color 0.9.0 <= v < 1.0.0

Ui.Card

A Card is used to display data in semantically grouped way.

Properties

active
:
Bool
=
false

Whether or not the card is active (has a highlighted border).

bordered
:
Bool
=
false

Whether or not to draw a border around the card.

children
:
Array(Html)
=
[]

The child elements.

href
:
String
=
""

The URL to link the card to.

minWidth
:
Ui.Size
=
Ui.Size::Px(0)

The minimum width of the card.

onClick
:
Maybe(Function(Html.Event, Promise(Void)))
=
Maybe::Nothing

The click event handler.

size
:
Ui.Size
=
Ui.Size::Inherit

The size of the component.

target
:
String
=
""

The target window of the URL.

Functions

render
:
Html

Renders the card.