Skip to main content

Card

Import​

import { Card } from '@resultadosdigitais/tangram-components'

Properties​

clickable​

Typebool
Defaultfalse

Description​

Allows interaction in the component using defined styles as hover, focus, active

active​

Typebool
Defaultfalse

Description​

Sets the Card as active. This is useful within the interaction mode.

as​

Typenode
Default'div'

Description​

Sets the element type to be rendered for this component. By default, it will render a <div> element.

children​

Typenode
Defaultnull

Description​

Sets the children

compact​

Typebool
Defaultfalse

Description​

Sets the Card as compact

Feedback​