CYBERCN
CyberCN UI
Components

Layout and Navigation

Structural primitives for sections, shells, timelines, side rails, and chrome around CyberCN content.

Layout and Navigation

These components shape the page before the content primitives take over. They are lightweight wrappers, but they encode the recurring shell patterns used across the project.

Section

Install

npx shadcn@latest add @cybercn/cyber-section

Import

import { Section } from "@/components/ui/cybercn/section";
import { Heading } from "@/components/ui/cybercn/heading";
import { Paragraph } from "@/components/ui/cybercn/paragraph";

Usage

<Section withSide className="space-y-6">
  <Heading Tag="h2">Zone Overview</Heading>
  <Paragraph>Every docs section can carry the framed side treatment.</Paragraph>
</Section>

Zone Overview

Every docs section can carry the framed side treatment.

PropTypeDefaultNotes
withSidebooleanfalseAdds the bilateral frame style.
classNamestring-Extends layout utilities.
native section propsReact.HTMLAttributes<HTMLElement>-Standard DOM section attributes.

Install

npx shadcn@latest add @cybercn/cyber-header

Import

import { Header } from "@/components/ui/cybercn/header";
import { Heading } from "@/components/ui/cybercn/heading";
import Link from "next/link";

Header is a sticky top-level shell with backdrop blur and border styling.

CYBERCN

Docs

PropTypeDefaultNotes
classNamestring-Use for flex layout, height, padding, and responsive alignment.
childrenReact.ReactNoderequiredRender your brand, nav, toggles, and external links.

Install

npx shadcn@latest add @cybercn/cyber-footer

Import

import { Footer } from "@/components/ui/cybercn/footer";

Footer provides a simple high-contrast closing band that flips foreground and background values across light and dark themes.

Transmission archived.
PropTypeDefaultNotes
classNamestring-Commonly used for padding and centering.
childrenReact.ReactNoderequiredUsually copyright text, utility links, or status notes.

Aside and Aside.Item

Install

npx shadcn@latest add @cybercn/cyber-aside

Import

import { Aside } from "@/components/ui/cybercn/aside";
import { Skull } from "lucide-react";

Usage

<Aside>
  <Aside.Item href="#danger-zone" icon={Skull}>
    Danger Zone
  </Aside.Item>
</Aside>

Aside props

PropTypeDefaultNotes
childrenReact.ReactNoderequiredShould usually be Aside.Item nodes.

Aside.Item props

PropTypeDefaultNotes
hrefstringrequiredRendered on a native anchor element.
iconLucideIcon-Optional icon shown before the label.
classNamestring-Applied to the list item wrapper.
childrenReact.ReactNoderequiredThe visible label.

Aside.Item currently uses a plain <a> rather than next/link, which makes it a good fit for in-page anchors, contact rails, and external URLs.

Steps and Step

Install

npx shadcn@latest add @cybercn/cyber-steps

Import

import { Step, Steps } from "@/components/ui/cybercn/steps";

Usage

<Steps>
  <Step>Intake</Step>
  <Step>Validation</Step>
  <Step status="current">Deployment</Step>
  <Step>Archive</Step>
</Steps>
  • Intake
  • Validation
  • Deployment
  • Archive

Steps props

PropTypeDefaultNotes
classNamestring-Useful when the timeline needs width or spacing overrides.
native ul propsReact.HTMLAttributes<HTMLUListElement>-Supports IDs, roles, and event handlers.

Step props

PropTypeDefaultNotes
status"default" | "current""default"Highlights the active step.
classNamestring-Extend individual markers or labels.
childrenReact.ReactNoderequiredThe step label content.

On this page