# Grid

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

[View Grid on CyberSpec](https://www.cyberspec.dev/grid)

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

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

## Usage

```tsx
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](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.
- [Button group](https://www.cyberspec.dev/components/sidebar/button-group.md) — Keys joined in one strip, horizontal or vertical, with hold-to-repeat.
- [Collapsible](https://www.cyberspec.dev/components/sidebar/collapsible.md) — One section behind a key that shows and hides it.
- [Map](https://www.cyberspec.dev/components/sidebar/map.md) — A flat map or rotatable globe with selectable markers, routes, and a bundled world basemap.
- [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.
- [Reticle](https://www.cyberspec.dev/components/sidebar/reticle.md) — A lock-on bracket that snaps onto whatever it wraps when hovered, focused or active.
- [Segmented control](https://www.cyberspec.dev/components/sidebar/segmented-control.md) — A row of segments with an indicator that slides to the choice.
- [Toggle group](https://www.cyberspec.dev/components/sidebar/toggle-group.md) — Toggles that share one value, one or several at a time.
- [Tooltip](https://www.cyberspec.dev/components/sidebar/tooltip.md) — A small cut label that appears on hover or focus.

## Resources

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