Try Install Learn Blog API Packages GitHub
Pages
mint-ui

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

Ui.Card

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

Properties

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(Never, 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.