interactive
A soft surface and a shadow on hover, a ring on focus.
Components, Surfaces
A surface for one standalone object, with a raised variant for things that float.
One standalone object. Radius 12, 1px border, no shadow.
A surface that floats above content. Only for the composer and approval requests.
A soft surface and a shadow on hover, a ring on focus.
The card is the surface for cards and panels. Use it for one standalone object, and use raised only for things that float above content.
Ask first: is this block something you can pick up on its own? If the answer is no, it is not a card. Group it with a heading and spacing, and divide the rows with List.
| variant | Surface | Use |
|---|---|---|
default |
card, corner radius 12, 1px border |
One standalone object (a plan, a connected tool) |
inset |
background, corner radius 8 |
A section inside a card |
raised |
card, corner radius 12, 1px border, shadow-sm |
A floating surface (the composer, an approval request) |
raised is only for things that float above content, such as the composer and the approval request.padding is none, md or lg. interactive shows a soft surface and a shadow on hover, and a ring on focus.<div class="Card_card Card_card--default Card_card--pad-md">…</div>
<div class="Card_card Card_card--raised Card_card--pad-md">…</div>
default. Shadow belongs to raised and to hover.inset.