Archive

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

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.

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

Usage

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 — A small cut label in seven tones, with count and status variants.
  • Button — 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 — A sheet that glitches in and out at the edge of the page. Drag it toward that edge to dismiss it.
  • Glitch text — Text that decodes itself into place and tears for a moment, with a stable copy for screen readers.
  • Item list — An always-visible list of rows in columns, the selected row a solid signal bar.
  • Micro-print — The printed decoration around frames: micro-print lines, barcodes, rulers, data streams and corner brackets.
  • Readout — A large numeral with a unit and a label that counts to its new value when it changes.
  • Side tabs — Icon keys stacked down the edge, with a panel beside them.
  • Text field — A labelled text input in a cut frame, with a hint, an error and an optional icon.
  • Toggle — A latching key that stays lit while pressed. Set cipher to decode its label when switched on.

Resources

View as Markdown