Skip to content

ElevatedCard

import { ElevatedCard } from "material.slint";
export component Example inherits Window {
width: 300px;
height: 200px;
background: transparent;
ElevatedCard {
width: 200px;
height: 150px;
clickable: true;
}
}
slint

An ElevatedCard is a card component with elevation that appears to float above the surface. It’s used to group related content and actions together.

bool default: false

Whether the card can be clicked and will respond to click events.

Invoked when the card is clicked (only if clickable is true).

ElevatedCard {
clickable: true;
clicked() => {
debug("Card clicked");
}
}
slint

© 2025 SixtyFPS GmbH