ComponentsCard
Card
Combine a header, content, and actions on a workspace surface.
Design handoff
Prepare the files and decisions for the implementation team.
- Owner
- Avery Chen
- Due
- Friday
Setup
Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.
Outlined card
Use the shared transparent surface and outline.
Review access
Check who can open the handoff.
Compact card
Use a header on its own for a short summary.
Review queue
3 requests are waiting for an owner.
Card with a form
Put the content and submit action inside the same form.
Invite a reviewer
Send the handoff to a teammate for a second look.
Card with a table
Use CardTable to align data with the card edges.
Review access
Who can open the handoff.
| Teammate | Role |
|---|---|
| Avery Chen | Editor |
| Jordan Rivera | Reviewer |
| Sam Morgan | Viewer |
Usage
| Card | Use Card as the outer surface. Add only the sections the content needs. The compact variant reduces the section padding. |
|---|---|
| Surfaces | Use the default fill for standard cards, outlined for a transparent card with a stronger edge, raised for a lighter surface, or inset for the base surface. In HTML, use the matching ilui-card modifier class. |
| Header and toolbar | Group CardTitle and CardDescription in CardHeading. Put badges or actions beside them in CardToolbar. |
| Content | Use CardContent for a padded body or CardTable for a table that touches the card edges. The table keeps its native headings and scrolling. |
| Footer | Use CardFooter for actions at the bottom. When a card contains a form, keep its submit button inside that form. |
| Dividers | Set the divider prop on CardHeader or CardFooter in React and Vue. In HTML, add data-ilui-card-divider to the header or footer. Dividers are off by default. |