››cart-item-minimal
Cart Item Minimal
Read-only cart lines with a small image, the variant, quantity and price, such as in an order review.
Parts
| Part | File | Does |
|---|---|---|
| CartItemMinimal | CartItemMinimal.vue | Lists the cart's items with image, variant, quantity and price, without editing. |
Styling
All of Cart Item Minimal’s styles live in cart-item-minimal.json. New to styling in Frontic UI? How styling works →
Install
Built from
API reference
Lists the cart's items with image, variant, quantity and price, without editing. Renders a <ul>.
Props 4
| Prop | Type | Default | |
|---|---|---|---|
| items | CartLine[] | [] | |
| |||
| quantityLabel | ((quantity: number) => string) | `Qty ${quantity}` | |
| |||
| locale | string | — | |
| |||
| class | ClassValue | — | |
| |||
Recipe cart-item-minimal 1 group
Recipe cart-item-minimal-image 1 group
size spacing.123rem
Recipe line-title 1 group
typography typography.ui500 0.875rem/1.43 'Inter Variable', Inter, sans-serif
lineHeight tight
Recipe meta 1 group
textColor colors.muted-foreground#66666f
typography typography.caption500 0.75rem/1.33 'Inter Variable', Inter, sans-serif
fontWeight normal
Cart Item Minimal