Rate Plan Selector
Radio-style rate plan cards for accommodation booking. Shows price per night, stay total (nights × rate), cancellation policy, and meal inclusion. Full ARIA radiogroup semantics.
core/rate-plan-selectorInstallation
1 · Add registry to components.json
2 · Install component
Examples
Default
Three rate plans with 3-night total, and loading skeleton.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
ratePlansreq | RatePlan[] | — | Available rate plans. |
valuereq | string | undefined | — | Selected plan ID. |
onChangereq | (planId: string) => void | — | Called when selection changes. |
nights | number | 1 | Number of nights — used to compute stay totals. |
loading | boolean | — | Shows loading skeleton. |