Card

A surface for grouped content, with optional media, header and footer.

Source on GitHub

With media
Guide8 min read
Ship a native app with raylang

From ray new to a signed bundle: the webview, the update feed and the release checklist.

Ada LovelaceOct 2, 2026
TemplateUpdated today
Dashboard starter

Sidebar, tables, charts and a settings modal, wired to a web backend.

$0 · MITUse template
Releasev1.27
Per-page modules and faster docs

Every docs page now loads only the components it shows, and the menu keeps its place.

Profile and metrics
Grace Hopper Compiler engineer · Arlington
raylangcompilersCOBOL
Commits
1,284
Reviews
312
Streak
41 d
FollowMessage
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 usedCancelSend invite
Variants, shadows, radius and padding
defaultcard surface, with-border filledmuted surface outlineborder, no fill shadow xsbarely lifted shadow mda raised panel shadow xlfloating radius xs · padding xsdense radius md · padding mdthe defaults radius xl · padding xlroomy
Code

API

For AI agents: this API as Markdown, or every component in llms-full.txt.

<ray-card> · RayCard

PropertyAttributeTypeDefaultDescription
paddingpadding reflects0 | xs | sm | md | lg | xlmdInner spacing (named space scale).
radiusradiusxs | sm | md | lg | xlCorner radius. Default: --ray-radius-default.
shadowshadowxs | sm | md | lg | xlElevation.
withBorderwith-borderbooleanDraws a border.
variantvariant reflectsdefault | filled | outlinedefaultdefault: card surface; filled: muted surface; outline: border without fill.
SlotDescription
(default)The body.
mediaFull-bleed image or media at the top.
headerHeader content.
footerFooter content (actions).
PartDescription
cardThe surface.
headerThe header area.
bodyThe body area.
footerThe footer area.