---
title: OutlinedCard
description: OutlinedCard 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 { OutlinedCard } from "@material";
export component Example inherits Window {
    width: 300px;
    height: 200px;
    background: transparent;
    OutlinedCard {
        width: 200px;
        height: 150px;
        clickable: true;
    }
}
```
</CodeSnippetMD>

An `OutlinedCard` is a card component with a border outline and transparent background. It's used to group related content and actions together with a subtle 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).
