# Loadout

Inspect your gear and move items between fitted slots and your pack.

[View Loadout on CyberSpec](https://www.cyberspec.dev/loadout)

## 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.

```sh
bunx --bun shadcn@latest add https://www.cyberspec.dev/r/loadout.json
```

## Usage

```tsx
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](https://www.cyberspec.dev/components/sidebar/alert-dialog.md) — A flagged confirmation that has to be answered, and that an agent has to ask a person about.
- [Badge](https://www.cyberspec.dev/components/sidebar/badge.md) — A small cut label in seven tones, with count and status variants.
- [Button](https://www.cyberspec.dev/components/sidebar/button.md) — A cut-corner button with a raised tab, five tones, and a press flash. Enable the cipher prop to scramble the label and briefly tear the frame on hover.
- [Dialog](https://www.cyberspec.dev/components/sidebar/dialog.md) — A modal panel on a spined frame that tears in over a dimmed page, with its answers on keys below.
- [Item slot](https://www.cyberspec.dev/components/sidebar/item-slot.md) — 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](https://www.cyberspec.dev/components/sidebar/meter.md) — A segmented gauge with thresholds that change its tone and print a word.
- [Micro-print](https://www.cyberspec.dev/components/sidebar/micro.md) — The printed decoration around frames: micro-print lines, barcodes, rulers, data streams and corner brackets.
- [Panel](https://www.cyberspec.dev/components/sidebar/panel.md) — The kit's container: a frame with a spine or a title bar, a heading, micro-print and a body.
- [Readout](https://www.cyberspec.dev/components/sidebar/readout.md) — A large numeral with a unit and a label that counts to its new value when it changes.
- [Segmented control](https://www.cyberspec.dev/components/sidebar/segmented-control.md) — A row of segments with an indicator that slides to the choice.
- [Tabs](https://www.cyberspec.dev/components/sidebar/tabs.md) — Tabs over panels with a sliding indicator, or as cut keys. Set cipher on key tabs to briefly split the selected key’s edge.

## Resources

- [All example screens](https://www.cyberspec.dev/examples.md)
- [Loadout source files](https://github.com/agnelnieves/cyberspec/tree/main/registry/cyber/blocks/loadout)
- [Shadcn registry item](https://www.cyberspec.dev/r/loadout.json)
