Props
| Prop | Type | Default | Notes |
|---|---|---|---|
appearance | normal | filled | normal | |
orientation | vertical | horizontal | vertical |
StellarUI
compositional card with optional media, header, footer, and actions plus simple appearance and orientation props.
Compose previews, docs, and controls without rebuilding the shell every time.
<stellar-card>
<img slot="media" src="https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80" alt="" />
<strong slot="header">Ship Faster</strong>
<p>Compose previews, docs, and controls without rebuilding the shell every time.</p>
<stellar-button slot="actions" appearance="soft" tone="primary">Browse</stellar-button>
<small slot="footer">Updated 2 minutes ago</small>
</stellar-card>Complete props, events, slots, and implementation notes for the shipped card.
| Prop | Type | Default | Notes |
|---|---|---|---|
appearance | normal | filled | normal | |
orientation | vertical | horizontal | vertical |
| Event | Source | Notes |
|---|---|---|
| custom events | none | stellar-card is compositional layout and emits no custom events. |
| Slot | Notes |
|---|---|
media | Optional media region, typically an image or other visual surface. |
header | Optional header content shown above the body. |
| default | Main card body content. |
footer | Optional footer content shown after the body. |
actions | Optional action row. In vertical cards it appears in the header; in horizontal cards it moves below the body. |