Skip to content

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.

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).

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

© 2025 SixtyFPS GmbH