Session pack pricing
A session pack grid that computes the price per session and the money saved, with an optional reduced rate.
- Tailwind
- React
- CSS
- WordPress
Description
For a climbing gym, a swimming pool, a yoga studio, a driving school or music lessons: the single entry and three packs are shown as selectable cards, each with its price, the price per session and a savings badge in percent. The choice updates a summary in a plain sentence (“10-pack: €115, i.e. €11.50 per session. You save €25 compared with 10 entries”), announced politely. A “Reduced rate” box applies the discount to all cards and to the summary, the savings still being computed honestly on the reduced entry price. All values come from attributes (each pack’s price, the entry price, the discount percentage): nothing is hard-coded in the script. Cards are real radio buttons in a fieldset (arrow keys, screen readers), visible focus outline, French-formatted amounts, AA contrast in light and dark mode, a two-column grid at 360 px.
Code
Loading the code…
The code of this component in
Archive contents
tarifs-carnets-seances-html-tailwind.zip3 files · 5 Ko
- index.html9 Ko
- README.md4 Ko
- LICENSE.md1 Ko
Tags
Updated on December 2, 2026.
Reviews
No reviews yet.
In the same spirit

A table comparing what each license includes: update and support length, response time, number of sites, client hand-over. A switch extends support and updates the prices.
- Tailwind
- React
- CSS
- WordPress

Three one-time payment licenses, what each one allows line by line (client site, number of sites, resale) and the recommended plan highlighted.
- Tailwind
- React
- CSS
- WordPress

Two offers and the cumulative cost over 1, 3 and 5 years of a monthly subscription and a one-time purchase, with the month the purchase pays for itself.
- Tailwind
- React
- CSS
- WordPress

Service cards with “from” prices, duration and a quote request button, filterable by family.
- Tailwind
- React
- CSS
- WordPress