@ambre-ds/commerce
v0.3.0
Published
Ambre commerce compositions, such as amb-quantity. Built from the core components and the same tokens.
Maintainers
Readme
@ambre-ds/commerce
Shop compositions for the Ambre design system, built from the core components and the same tokens. The first is amb-quantity. A cart and a checkout stay in your product.
npm install @ambre-ds/commerce @ambre-ds/tokensimport '@ambre-ds/tokens/css';
import '@ambre-ds/commerce';<amb-quantity name="linen" value="1" min="1" max="8">Linen sheet</amb-quantity>The value joins the nearest form. change fires with detail.value after each step. The − and + buttons are named Decrease and Increase for assistive technology.
Documentation: mohamedmok-ambre.surge.sh/components/quantity · MIT license.
