Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProAn inventory and loadout screen in a restrained institutional style: outlined slots with real photographs, issued and locked states, slot tabs with a sliding underline and a selection frame that glides across the grid. The detail panel compares the selected item against the one currently issued with hatched gain and red loss segments on tick-marked bars, lets you fit modifications into sockets from a keyboard friendly list, and runs a hold-to-authorise upgrade with cost, remaining balance and a chromatic flicker on success. Works as a product configurator, plan picker or equipment manager; arrows, Enter and U drive it without a mouse and reduced motion removes all sliding and flicker.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { LoadoutGrid } from "@/components/hyperblur-pro/loadout-grid"
<LoadoutGrid
statNames={["Speed", "Storage", "Seats", "Support"]}
currency={900}
currencyLabel="Credits"
onUpgrade={(item, level) => save(item.id, level)}
/>| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | "Loadout" | Large heading at the top left. |
| items | LoadoutItem[] | sample items | Items with id, name, code, slot, image, description, stats (0 to 100, one per stat name), level, maxLevel, cost, locked, lockReason, equipped and mods. |
| statNames | string[] | ["Range", "Fidelity", "Endurance", "Discretion"] | Labels for the compared stats. |
| mods | LoadoutMod[] | sample mods | Modifications that can be fitted. Each adds delta to one stat index. One socket opens per mark, up to three. |
| currency | number | 1240 | Starting balance spent on upgrades. |
| currencyLabel | string | "Units" | Name of the currency. |
| columns | number | 4 | Grid columns. Empty cells are filled with vacant slots. |
| accent | string | "#e0261b" | Warning red for issued badges, losses, the hold bar and focus rings. |
| holdMs | number | 1100 | How long the authorise button must be held, in milliseconds. |
| flicker | boolean | true | Chromatic aberration flicker on issue and upgrade. |
| onEquip / onUpgrade | (item) => void / (item, level) => void | undefined | Called after an item is issued or upgraded. |
Source code is included in Pro and above