Skip to the object
Tactile UI

Pricing Drums

A price printed on brass drums. Switch the period or the currency and the figure rolls to its new value with the period engraved beneath; a tally shows the founder seats actually left.

Built with Odometer

What it is for

Make the one number a pricing page exists for into the thing a visitor plays with: toggling the plan is how they compare, and the price rolling like a register makes the change legible and memorable.

Installnpx shadcn add https://tactileui.dev/r/pricing-drums.jsonWith a Pass: how

Controls

Set small above the headline.

The second half of the headline, in the accent colour.

Billing shown first

The period the switch starts on. Visitors roll the price by switching it.

List prices per currency, priced to end in 9 above 20.

The small counter: set it from your real sales, and call setSeats(n) when one goes.

Palette

Warm paper, or the same catalogue on walnut-dark stock.

DrumsBrass

The Odometer’s finish, and the housing that comes with it.

The drums’ lamp: 0 from above, clockwise.

This stage only

Takes a seat now and then so you can see the tally roll. Never part of the code you take.

Everything you set here is what the Code and Prompt tabs give you.

Seats open in 11 days. Want one email that morning?

Datasheet

Mechanism
Rolling price, Engraved period plate, List price per currency, Visibility gated scarcity tally, Native radio segmented control, Palette tokens from one table
Stack
Vanilla ES modules, CSS, Css 3d transforms, SVG
Needs
Odometer
States
9 documented
Version
0.1.0
Licence
With a Pass

States

  1. At restThe configured period and currency show; the drums stand on the price with the period engraved on the plate; nothing runs.
  2. Period switchA radio change slides the ink thumb, changes badge, terms and button, re-engraves the plate and rolls the price with its carries.
  3. Currency switchA select change swaps the symbol on the plate and rolls to that currency’s list price (priced to end in 9 above 20).
  4. Seat soldsetSeats(n) with the real count rolls the founders’ tally to it; it is never announced. Nothing is simulated unless a preview asks for demo.
  5. PalettePaper (warm catalogue stock, oxblood accent) or night (walnut-dark stock, brass accent); tokens written from one table.
  6. TabletOne column; the reel drawing is dropped; the features run in two columns under the founders row.
  7. PhoneControls stack full width, the price instrument fills the column, features in one column, the button full width.
  8. Reduced motionEvery roll and slide becomes an instant change; prices, terms and the seat count still update.
  9. Off screenThe drums sleep; nothing runs until the section returns.

Notes

Ships as a finished catalogue-style section for a software product, ready to re-word.

Original composition; the product (Halden Tape Works, HT-7) and all copy are invented. The reel drawing is hand-built SVG. Faces: Instrument Serif and Work Sans (SIL OFL 1.1), Latin subsets as WOFF2. The canvas-fonts source had no licence file for Instrument Serif, so InstrumentSerif-OFL.txt is the standard OFL 1.1 text under the copyright line from the font’s own name table.

Anatomy

Rolling price, Engraved period plate, List price per currency, Visibility gated scarcity tally, Native radio segmented control, Palette tokens from one table

Usage notes

Make the one number a pricing page exists for into the thing a visitor plays with: toggling the plan is how they compare, and the price rolling like a register makes the change legible and memorable. Ships as a finished catalogue-style section for a software product, ready to re-word.

Options

OptionTypeDescription
brandtextSet small above the headline.
producttextProduct
headlinetextHeadline
accenttextThe second half of the headline, in the accent colour.
ledetextLede
periodenumThe period the switch starts on. Visitors roll the price by switching it.
currencyenum
monthlynumberMonthly price (USD)
yearlynumberYearly price (USD)
lifetimenumberLifetime price (USD)
seatsnumberThe small counter: set it from your real sales, and call setSeats(n) when one goes.
pressingnumberFounders’ seats in all
ctaTrialtextButton, monthly and yearly
ctaOncetextButton, lifetime
paletteenumWarm paper, or the same catalogue on walnut-dark stock.
finishenumThe Odometer’s finish, and the housing that comes with it.
lightnumberThe drums’ lamp: 0 from above, clockwise.

Methods

  • odometers
  • setSeats
  • update
  • destroy

How it works

Original composition; the product (Halden Tape Works, HT-7) and all copy are invented. The reel drawing is hand-built SVG.