# Archive

Search the Sprawl’s dossiers on people, places, and machines.

[View Archive on CyberSpec](https://www.cyberspec.dev/archive)

## What this screen demonstrates

A database of people, places and machines, one dossier each.

## 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/archive.json
```

## Usage

```tsx
import { Cyber } from "@/components/ui/cyber"
import ExampleScreen from "@/components/blocks/archive/archive"

export default function App() {
  return (
    <Cyber>
      <ExampleScreen />
    </Cyber>
  )
}
```

## Components in this screen

- [Badge](https://www.cyberspec.dev/components/sidebar/badge.md) — A small cut label in seven tones, with count and status variants.
- [Breadcrumb](https://www.cyberspec.dev/components/sidebar/breadcrumb.md) — A trail of pages, the current one in the signal color.
- [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.
- [Drawer](https://www.cyberspec.dev/components/sidebar/drawer.md) — A sheet that glitches in and out at the edge of the page. Drag it toward that edge to dismiss it.
- [Glitch text](https://www.cyberspec.dev/components/sidebar/glitch-text.md) — Text that decodes itself into place and tears for a moment, with a stable copy for screen readers.
- [Item list](https://www.cyberspec.dev/components/sidebar/item-list.md) — An always-visible list of rows in columns, the selected row a solid signal bar.
- [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.
- [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.
- [Side tabs](https://www.cyberspec.dev/components/sidebar/side-tabs.md) — Icon keys stacked down the edge, with a panel beside them.
- [Text field](https://www.cyberspec.dev/components/sidebar/text-field.md) — A labelled text input in a cut frame, with a hint, an error and an optional icon.
- [Toggle](https://www.cyberspec.dev/components/sidebar/toggle.md) — A latching key that stays lit while pressed. Set cipher to decode its label when switched on.

## Resources

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