shipany-pricing
v0.1.5
Published
Reusable ShipAny pricing components and adapters.
Downloads
1,199
Readme
shipany-pricing
Reusable pricing components for ShipAny template variants.
Install
pnpm add -E [email protected]For a normal project template with src/config/style/global.css, include the
compiled ShipAny skin in Tailwind v4 scanning:
@source '../../../node_modules/shipany-pricing/dist/shipany.js';For this pvid monorepo baseline, scan local source instead:
@source '../../../packages/pricing/src';Exports
shipany-pricing: core types.shipany-pricing/react: headless pricing state helpers.shipany-pricing/adapters: fetch checkout adapter.shipany-pricing/shipany: ShipAny Tailwind skin and dialog.
Skins
skin="default": light ShipAny pricing surface for default/magiclight pages.skin="glass": dark glass surface for nanaimg-style pages.
The package renders UI only. Login, checkout, payment provider selection,
analytics, promo/referral metadata, toast, and subscription conflict handling
must be injected by the consuming project through app and adapter props.
