Account

Chrome

Creative

HUD Frame

Instrument-panel chrome for dashboards, game tools and technical product pages. Monochrome, quiet at rest, and it scales from a stat to a full panel.

Install

Included with Creative: needs your API key. Initialize and log in once.

Terminal
npx @galactrex/ui add hud-frame

Usage

Example
import { HUDFrame } from "@/components/galactrex/hud-frame";

<HUDFrame label="Telemetry">
  <p>Frame time 8.2 ms</p>
</HUDFrame>

Source

Installs to components/galactrex/hud-frame.tsx, with the shared motion primitives beside it.

Source for this component comes with its plan. Install it with the command above, or open your licensed copy here.

See plans

Props

PropTypeDefaultDescription
childrenReactNode—The framed content.
labelReactNode—Caption on the top edge.
cornernumber18Corner bracket length in px.
ticksbooleantrueTick marks on the top and bottom edges.
responsivebooleantrueCorners open while the content is in use.
classNamestring—Extra classes for the outer element.

Variants

  • Panel. Label plus ticks around a block of controls or data.
  • Bare. `ticks={false}` and no label: just the corners.

Accessibility

  • Brackets and ticks are aria-hidden; the label is real text.
  • Keyboard focus inside opens the corners like hover does.

Motion and reduced motion

  • Corners arrive from the inside with a staggered spring when the frame enters view.
  • Reduced motion: corners are simply present and do not react.