Card
Layout[atlasCardContent][atlasCardDescription][atlasCardFooter][atlasCardHeader][atlasCardTitle][atlasCard]Examples
Basic
Compose a card from header, title, description, content and footer directives.
Create project
Deploy your new project in one click.
Accent
accentPosition draws a colored edge; accentColor takes any CSS color, including tokens. Use start / end rather than left , so the edge follows the text direction in RTL.
Top
Start
Bottom
Header, content and actions
Compose a card from atlasCardHeader , atlasCardContent and atlasCardFooter . Keep the title a real heading at the right level for the page.
Team plan
10 seats, billed yearly.
€240 / year
API
Generated from the library source, so it always matches the code.
AtlasCardDirective [atlasCard]
| Input | Type | Default | Description |
|---|---|---|---|
| class | string | '' | cn() ; yours win on conflicts. |
| accentColor | string | null | null | |
| accentPosition | CardAccentPosition | 'none' |
AtlasCardHeaderDirective [atlasCardHeader]
| Input | Type | Default | Description |
|---|---|---|---|
| class | string | '' | cn() ; yours win on conflicts. |
AtlasCardTitleDirective [atlasCardTitle]
| Input | Type | Default | Description |
|---|---|---|---|
| class | string | '' | cn() ; yours win on conflicts. |
AtlasCardDescriptionDirective [atlasCardDescription]
| Input | Type | Default | Description |
|---|---|---|---|
| class | string | '' | cn() ; yours win on conflicts. |
AtlasCardContentDirective [atlasCardContent]
| Input | Type | Default | Description |
|---|---|---|---|
| class | string | '' | cn() ; yours win on conflicts. |
AtlasCardFooterDirective [atlasCardFooter]
| Input | Type | Default | Description |
|---|---|---|---|
| class | string | '' | cn() ; yours win on conflicts. |
Types
CardAccentPosition
top — colored border on top edge - start — colored border on the inline-start edge (left in LTR, right in RTL) - end — colored border on the inline-end edge (right in LTR, left in RTL) - left — colored border on the physical left edge; prefer start , which follows the text direction - bottom — colored border on bottom edge - none — no accent border (default)
type CardAccentPosition = 'top' | 'start' | 'end' | 'left' | 'bottom' | 'none'