Denis Kargin

Lab

Small things that work

I'd rather show than tell. Each of these is a few hundred lines, built in an evening, and does one real thing.

01 A vaccination calendar from a date of birth

Enter a child's date of birth and the Polish schedule builds itself, bar by bar. It lives on the Maluch case page.

Try it on the case page

Built with Claude, on the real schedule data from maluch.app

02 A pricing guardrail

Type a new price and the table catches the ones that would lose money or surprise a customer, before they go live. The products and numbers are invented.

ProductCostLast priceNew priceCheck
Vitamin D3 2000 IU, 90 caps£3.10£7.99OK
Whey protein, vanilla, 1 kg£11.40£24.99OK
Hydrating face serum, 30 ml£5.60£18.50OK
Electric toothbrush heads, 4 pack£4.20£12.99OK

Rules: never below cost · within 30% of the last price · the table never lets a flagged price through

Built with Claude. The idea comes from the THG pricing case

03 One token, three layers, any brand

Pick a theme and watch the value travel from a primitive through the semantic layer to the button. This is how the post-trade design library white-labels.

Theme
  1. PrimitiveFern/700
  2. SemanticInteractive/Primary
  3. ComponentButton.Primary.bg

Components read only the semantic layer, so a theme is one line: which primitives Interactive/Primary points at.

Built with Claude. The brands are invented

04 A contrast check

The first thing I run in an audit. Two colours in, the WCAG ratio and verdicts out.

Confirm the trade

Settlement on 24 March, net amount £1,240,000. Both sides have affirmed.

Ratio
—
AA text
—
AA large
—
AAA text
—

Built with Claude