---
title: FilledCard
description: FilledCard API.
---

import CodeSnippetMD from '@slint/common-files/src/components/CodeSnippetMD.astro';
import SlintProperty from '@slint/common-files/src/components/SlintProperty.astro';

<CodeSnippetMD imagePath="" noScreenShot scale="3" imageWidth="300" imageHeight="200" imageAlt="">
```slint
import { FilledCard } from "@material";
export component Example inherits Window {
    width: 300px;
    height: 200px;
    background: transparent;
    FilledCard {
        width: 200px;
        height: 150px;
        clickable: true;
    }
}
```
</CodeSnippetMD>

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

### clickable
<SlintProperty propName="clickable" typeName="bool">
Whether the card can be clicked and will respond to click events.
</SlintProperty>

## Callbacks

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