CYBR//UI · SHADCN REGISTRY · REV 0.1 · SYS:OK
Cyberpunk
Brutalism_
Animated React components for Next.js and Tailwind. Hard edges, offset shadows, mechanical motion. Copy the source or install one at a time with the shadcn CLI.
Browse components →- COMPONENTS
- 38
- SETS
- 7
- THEME PRESETS
- 3
Install
1. Map the
@cybrnamespace, once per project. Add this inside yourcomponents.json, or into its existing"registries"object. Nocomponents.jsonyet? Runnpx shadcn@latest initfirst to create one."registries": { "@cybr": "https://cybr-ui.com/r/{name}.json" }2. Add components:
$ npx shadcn@latest add @cybr/all
If shadcn reports Unknown registry "@cybr", step 1 is missing from that project's components.json.
Installs all 38 components with the tokens, effects and helpers they need. To add one at a time, pick it from the component index and use the install command on its page.
01 / Sets
02 / Live specimens
03 / Custom colours
Every colour is one of ten CSS variables in styles/cybr-tokens.css. Edit the values under :root to change the default palette, or add a preset of your own next to it:
/* styles/my-theme.css: import after cybr-tokens.css */
[data-theme="synthwave"] {
--bg: #1a1033;
--surface: #2a1a4d;
--line: #4a3a6d;
--dim: #7a6a9d;
--signal: #ff2bd6;
--ink: #fdf4ff;
--label: #c9b8e8;
--ground-deep: #0f0820;
--ground-void: #080410;
--neon-2: #2bf0ff;
}Then set data-theme="synthwave" on <html>, or on any element to theme only that section. Variables you leave out fall back to the defaults, so a preset can be as small as one --signal.
| Token | Used for |
|---|---|
--bg | Page background. |
--surface | Raised, hover and disabled fills. |
--line | Borders and grid lines. Decoration only. |
--dim | Disabled and low-emphasis marks. |
--signal | Main accent: buttons, highlights, focus rings. |
--ink | Main text and hard offset shadows. |
--label | Secondary text and captions. |
--ground-deep | Dark panels, and text on top of --signal. |
--ground-void | Darkest wells: code boxes and terminals. |
--neon-2 | Second accent: glitch split and code highlighting. |
Check contrast before you ship a palette. These are the WCAG AA minimums the built-in presets meet:
- 4.5:1
--inkand--labelon--bg - 4.5:1
--signalon--bg(accent text) - 4.5:1
--ground-deepon--signal(button labels) - 3:1
--signalon--surface,--dimon--bg