registry.json

Formula 2030

Themed components for UI SDK, installable from a shadcn registry. Every control is a UI SDK component underneath, drawn in one of three registers that stack from dark to light.

22°C
Suspension
Stiff
Steering
Firm
Power delivery
Performance

Three registers

  1. Measure: Readout

    Black glass, hairline tick scales and a square marker.

  2. Choose: Strata

    Flat tonal bands stepping dark to light, with a block of ink for the choice.

  3. Actuate: Machined

    Ice tiles, spun-aluminium knobs, keys that sink and one gold part.

Install

Files land in components/ui/formula/, so the theme adds to an existing shadcn project without replacing its components.

Prompt for a coding agentInstall components from the Formula 2030 shadcn registry, https://formula2030.alexandrejoly.me/r/registry.json. They are built on UI SDK (@ui-sdk/react) and install into components/ui/formula.
One component, with the shadcn CLInpx shadcn@latest add https://formula2030.alexandrejoly.me/r/switch.json

Theme tokens

The tokens every Formula 2030 component reads: the glass, the tonal ramp, the tiles, the metals and the signal colours. Every component installs them as a dependency.

  • --formula-glass
  • --formula-ink
  • --formula-tone-1
  • --formula-tone-2
  • --formula-tone-3
  • --formula-tone-4
  • --formula-tone-5
  • --formula-tile
  • --formula-metal-lo
  • --formula-gold-lo
  • --formula-signal
  • --formula-lamp
  • --formula-limit
  • --formula-cold
npx shadcn@latest add https://formula2030.alexandrejoly.me/r/formula.json

Components

Each one is live. Its card names the UI SDK part underneath and gives its own install command.

Readout

Black glass, hairline tick scales and a square marker.

  • Meter

    A ruler that reads a measurement: ticks light up to the value and a square marker sits at the reading, horizontal or vertical.

    Register
    Readout
    Built on
    UI SDK Meter
    G-force (g)
    0.00
    0.00
    State of charge68%
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/meter.json
  • Progress

    A ruler for a task that advances: ticks light up to the value, and a short run of lit ticks travels the scale while the progress is unknown.

    Register
    Readout
    Built on
    UI SDK Progress
    Charging62%
    Pairing phone key
    Map download
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/progress.json
  • Slider

    A ruler: ticks light up to the value and a square marker rides the scale.

    Register
    Readout
    Built on
    UI SDK Slider
    -20 mm
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/slider.json
  • Glass

    The black display the readout components sit on, with optional corner brackets.

    Register
    Readout
    Built on
    No UI SDK part
    Range
    412 km
    Consumption, last 50 km
    17.2 kWh
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/glass.json

Strata

Flat tonal bands stepping dark to light, with a block of ink for the choice.

  • Accordion

    Stacked tonal bands whose plus turns into a minus as the band turns to ink and its panel opens on a light tone.

    Register
    Strata
    Built on
    UI SDK Accordion
    Front 2.4 bar, rear 2.6 bar. Checked 12 km ago, all four within range.
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/accordion.json
  • Radio

    A list of tonal option rows, each with a square marker: the checked row turns to ink and its marker fills.

    Register
    Strata
    Built on
    UI SDK Radio
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/radio.json
  • Segmented Control

    Tonal bands stepping from dark to light, with a block of ink that slides to the choice.

    Register
    Strata
    Built on
    UI SDK Segmented Control
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/segmented-control.json
  • Tabs

    A run of tonal bands with a block of ink that slides to the selected tab, above or beside a flat light panel.

    Register
    Strata
    Built on
    UI SDK Tabs
    186 km in 2 h 14 min, at 17.2 kWh per 100 km.
    11 kW wall box. Charges to 80% by 07:00 at the off-peak rate.
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/tabs.json

Machined

Ice tiles, spun-aluminium knobs, keys that sink and one gold part.

  • Button

    A key cap standing on a solid skirt: a press sinks it flush, and it stays down while its action runs.

    Register
    Machined
    Built on
    UI SDK Button
    Lock
    Boost
    Horn
    Precondition
    Trip meter
    Launch control
    Gearbox
    Windows
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/button.json
  • Checkbox

    A small square well: checked seats a dark milled cap in it, and the mixed state is a single engraved bar.

    Register
    Machined
    Built on
    UI SDK Checkbox
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/checkbox.json
  • Knob

    A knurled metal dial in a ring of ticks: dragging up turns its index dot and lights the ticks up to the value.

    Register
    Machined
    Built on
    UI SDK Slider
    12
    70%
    2
    4
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/knob.json
  • Number Input

    A large thin numeral over a pair of engraved stepper arrows, with a knurled grip to drag the value.

    Register
    Machined
    Built on
    UI SDK Number Input
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/number-input.json
  • Switch

    A rotary knob in a ring: on turns its slot upright.

    Register
    Machined
    Built on
    UI SDK Switch
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/switch.json
  • Toggle

    A latching key that stays sunk while pressed and lights the engraved bar under its content; a group lines keys up along shared seams.

    Register
    Machined
    Built on
    UI SDK Toggle
    Rear defrost
    Recirculate
    Seat heat
    Hazards
    Air distribution
    Wipers
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/toggle.json
  • Tile

    A machined tile for one control, with a lamp that lights while the control is on.

    Register
    Machined
    Built on
    No UI SDK part
    Lock
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/tile.json

Every register

Parts that serve every register at once.

  • Sound

    Interaction sounds for every Formula component, synthesised in the browser: keys thock, knobs tick, bands thud, rulers blip. Mount it once; it ships no audio files.

    Register
    Every register
    Built on
    No UI SDK part
    npx shadcn@latest add https://formula2030.alexandrejoly.me/r/sound.json