Display
Card
A quiet container for related content. Two variants, nothing more.
Usage
Resets on the 1st of each month.
8,214of 10,000 builds
Installation #
With the Nuxt module, every component is auto-imported — there is nothing to add. In a plain Vue project, import what you use:
Copy
import { JCard } from '@juxtui/ui'Usage #
Copy
<JCard title="Usage" description="Resets on the 1st of each month.">
…
</JCard>Variants & examples #
Actions and footer#
Custom domain
Point your domain at juxt.ui to go live.
Pending
Add a CNAME record for app.acme.com pointing to cname.juxt.dev. Changes can take up to an hour.
Muted#
Recedes into the page — useful for secondary panels and empty states.
No deployments yet
Push to your main branch to trigger the first one.
API #
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Heading. |
| description | string | — | Supporting line under the title. |
| variant | 'outline' | 'muted' | 'outline' | Outline sits on the page; muted recedes into it. |
| padding | 'none' | 'sm' | 'md' | 'lg' | 'md' | Inner spacing: 0, 12, 20 or 24px. |
| as | string | Component | 'div' | Root element, e.g. section or article. |
Slots
| Slot | Props | Description |
|---|---|---|
| default | — | Body. |
| actions | — | Right of the title — a button, badge or menu. |
| footer | — | Separated by a hairline; right-aligned. |
| header | — | Replace the title block. |
Accessibility #
- The title renders as an
<h3>. Useas="section"with a heading to create a landmark when the card is a distinct region.