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.
Properties
Section titled “Properties”clickable
Section titled “clickable”bool default: false
Whether the card can be clicked and will respond to click events.
Callbacks
Section titled “Callbacks”clicked()
Section titled “clicked()”Invoked when the card is clicked (only if clickable
is true).
ElevatedCard { clickable: true; clicked() => { debug("Card clicked"); }}
slint
© 2025 SixtyFPS GmbH