Header Checkout
Checkout header with the logo and a secure-checkout note, and the checkout steps in a band below: every step named on a wide screen, the current one and its position on a narrow one.
Parts
| Part | File | Does |
|---|---|---|
| HeaderCheckout | HeaderCheckout.vue | Shows the logo and a secure-checkout note, with the checkout steps in a band below. |
Styling
All of Header Checkout’s styles live in header-checkout.json. New to styling in Frontic UI? How styling works →
Install
- npm packages
- @lucide/vue
Built from
API reference
Shows the logo and a secure-checkout note, with the checkout steps in a band below. Renders a <header>.
Props 9
| Prop | Type | Default | |
|---|---|---|---|
| steps* | CheckoutStep[] | — | |
| |||
| step* | number | — | |
| |||
| logoText | string | 'STORE' | |
| |||
| logoSrc | string | '' | |
| |||
| homeHref | string | '/' | |
| |||
| stepsLabel | string | 'Checkout steps' | |
| |||
| progressLabel | string | 'Step {step} of {total}' | |
| |||
| secureLabel | string | 'Secure Checkout' | |
| |||
| class | ClassValue | — | |
| |||
Slots 1
| Slot | Slot props | |
|---|---|---|
| navigation | { steps: CheckoutStep[]; step: number; } | |
| ||