Skip to content

COMPONENT / exposed-wiring

Exposed Wiring_

SVG circuit traces, pads and an IC block, with a --signal pulse running along one trace. Static under reduced motion. Requires @cybr/tokens and @cybr/effects.

Install

  1. 1. Map the @cybr namespace, once per project. Add this inside your components.json, or into its existing "registries" object. No components.json yet? Run npx shadcn@latest init first to create one.

    "registries": { "@cybr": "https://cybr-ui.com/r/{name}.json" }
  2. 2. Add components:

    $ npx shadcn@latest add @cybr/exposed-wiring

If shadcn reports Unknown registry "@cybr", step 1 is missing from that project's components.json.

Preview

06 / EXPOSED WIRING

SVG TRACES · SIGNAL PULSE ON ONE PATH

Props

Component props
PropTypeDefaultDescription
...propsComponentProps<"div">—Every native <div> attribute is forwarded; className is merged last with cn(). Give the root a height (or content) and any layout classes; they apply to the children directly.

Usage

Needs the stylesheets from @cybr/tokens and @cybr/effects. After the install, import them in app/globals.css:

@import "tailwindcss";
@import "../styles/cybr-tokens.css";
@import "../styles/cybr-effects.css";
import { ExposedWiring } from "@/components/ui/exposed-wiring";

export function Hardware() {
  return (
    <ExposedWiring className="min-h-96 p-10">
      <h2 className="font-display text-display-md text-ink uppercase">Under the panel</h2>
    </ExposedWiring>
  );
}

States

Accessibility