Shipping Rate Comparator
A production-scale, light + dark Shipping Rate Comparator component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add shipping-rate-comparatorUsage
import { ShippingRateComparator } from "@lerpa/ui";
<ShippingRateComparator />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| rates | ShippingRate[] | — | |
| defaultSelected | string | — | |
| onSelect | (rate: ShippingRate) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.