Use for grouping related content in a contained, elevated surface.
barIndicates that a bar should be displayed and which color to use. Predefined colors that may be used as values are:
Any other value (e.g. "#990000", "purple") will be treated as a custom color.
elevationThe size of the box-shadow applied to the component, giving it a sense of depth.
Set to 0 to disable.
targetTarget to be applied to the link when a URL is provided.
Do not use in Online Banking. Use the openURL capability on the click event instead.
typeAlters the interactive behavior of the card while maintaining visual appearance.
urlURL to navigate the user to when the card is clicked.
Do not use in Online Banking. Use the openURL capability on the click event instead.
The q2-card element exposes events that can be used to send and receive data from the component based on user interaction.
Emitted when the card is clicked and the url property is not provided.
undefinedEmitted when the card is clicked and the url property is not provided.
undefinedThe following CSS variables are available to override the default theme styles of the q2-card component.
Many Tecton components consume other components to maintain visual and functional consistency. If you are looking for a CSS variable you think should exist but are not seeing it, it may be defined in one of the dependent components below. Either way, if you think it's something we should expose more conveniently, let us know!