Loadout
Inspect your gear and move items between fitted slots and your pack.
What this screen demonstrates
Gear slots, a weapon's sheet with its stats, and what's in the pack.
Installation
Use a React 19 project with shadcn configured. Render the installed components inside the Cyber root, and import your global stylesheet in the app entry point.
bunx --bun shadcn@latest add https://www.cyberspec.dev/r/loadout.json
Usage
import { Cyber } from "@/components/ui/cyber"
import ExampleScreen from "@/components/blocks/loadout/loadout"
export default function App() {
return (
<Cyber>
<ExampleScreen />
</Cyber>
)
}
Components in this screen
- Alert dialog — A flagged confirmation that has to be answered, and that an agent has to ask a person about.
- Badge — A small cut label in seven tones, with count and status variants.
- Dialog — A modal panel on a spined frame that tears in over a dimmed page, with its answers on keys below.
- Item slot — A gear tile with a rarity spine, mod sockets, a count and an empty state. Set cipher to briefly split its edge on selection.
- Meter — A segmented gauge with thresholds that change its tone and print a word.
- Micro-print — The printed decoration around frames: micro-print lines, barcodes, rulers, data streams and corner brackets.
- Panel — The kit's container: a frame with a spine or a title bar, a heading, micro-print and a body.
- Readout — A large numeral with a unit and a label that counts to its new value when it changes.
- Segmented control — A row of segments with an indicator that slides to the choice.
- Tabs — Tabs over panels with a sliding indicator, or as cut keys. Set cipher on key tabs to briefly split the selected key’s edge.