FilledCard
import { FilledCard } from "material.slint";export component Example inherits Window { width: 300px; height: 200px; background: transparent; FilledCard { width: 200px; height: 150px; clickable: true; }}
slint
A FilledCard
is a card component with a filled background color. It’s used to group related content and actions together with a more prominent visual appearance.
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).
FilledCard { clickable: true; clicked() => { debug("Card clicked"); }}
slint
© 2025 SixtyFPS GmbH