Card
A surface for grouped content, with optional media, header and footer.
With media
From ray new to a signed bundle: the webview, the update feed and the release checklist.
Sidebar, tables, charts and a settings modal, wired to a web backend.
$0 · MIT Use template
Every docs page now loads only the components it shows, and the menu keeps its place.
Profile and metrics
- Commits
- 1,284
- Reviews
- 312
- Streak
- 41 d
Monthly active users48,210+12.4% vs September
Storage62.4 / 100 GB
Renews Nov 1Upgrade
As a link
A form, with the header and footer styled through ::part()
Invite peopleThey get an email with a link that expires in 7 days.
3 of 10 seats usedCancel Send invite
Variants, shadows, radius and padding
API
For AI agents: this API as Markdown, or every component in llms-full.txt.
<ray-card> · RayCard
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
padding | padding reflects | 0 | xs | sm | md | lg | xl | md | Inner spacing (named space scale). |
radius | radius | xs | sm | md | lg | xl | Corner radius. Default: --ray-radius-default. | |
shadow | shadow | xs | sm | md | lg | xl | Elevation. | |
withBorder | with-border | boolean | Draws a border. | |
variant | variant reflects | default | filled | outline | default | default: card surface; filled: muted surface; outline: border without fill. |
| Slot | Description |
|---|---|
| (default) | The body. |
media | Full-bleed image or media at the top. |
header | Header content. |
footer | Footer content (actions). |
| Part | Description |
|---|---|
card | The surface. |
header | The header area. |
body | The body area. |
footer | The footer area. |