Website kits › Salve › Product

Product

Sizes with their own stock, a sold-out size that takes an email, and the label that unrolls into the ingredient list beside the bottle.

Product is a product page from Salve, a website kit with 5 pages: A working skincare store: real bottles, labels that open into the full ingredient list, one shared bag. Price: $5 for the whole pack.

Built with: label unwrap, stock-aware quantity, sticky buy bar.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Product props

PropTypeDefaultDescription
darkboolean
photosRecord<string
productstringProduct id to show (otherwise the last one picked on another page, then the niacinamide serum).
autoplayboolean
seedboolean
onNavigate(page: string) => void

Methods on the ref

Use it in React

import SalveProduct from './SalveProduct';

<SalveProduct />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Salve

Good for: Skincare store website, UK (pounds).