Grid

Set a district waypoint or trace the Atlantic relays on an atlas and a globe.

What this screen demonstrates

A district map with filters and waypoints, plus an atlas and globe of the Atlantic relay network.

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/grid.json

Usage

import { Cyber } from "@/components/ui/cyber"
import ExampleScreen from "@/components/blocks/grid/grid"

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.
  • Button group — Keys joined in one strip, horizontal or vertical, with hold-to-repeat.
  • Collapsible — One section behind a key that shows and hides it.
  • Map — A flat map or rotatable globe with selectable markers, routes, and a bundled world basemap.
  • 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.
  • Reticle — A lock-on bracket that snaps onto whatever it wraps when hovered, focused or active.
  • Segmented control — A row of segments with an indicator that slides to the choice.
  • Toggle group — Toggles that share one value, one or several at a time.
  • Tooltip — A small cut label that appears on hover or focus.

Resources

View as Markdown