CYBERCN
CyberCN UI
Components

Typography and Media

Headings, paragraphs, lists, dividers, links, and images for the core CyberCN reading experience.

Typography and Media

These primitives carry most of the CyberCN visual language. They are best used together inside Section blocks to create dense editorial layouts, terminal-like panels, and themed content pages.

Heading

Install

npx shadcn@latest add @cybercn/cyber-heading

Import

import { Heading } from "@/components/ui/cybercn/heading";

Usage

<Heading Tag="h1" glitched>
  Threat Assessment
</Heading>

Threat Assessment

Sector Report

Active Signal

Terminal Note

PropTypeDefaultNotes
Tag"h1" | "h2" | "h3" | "h4"requiredDetermines the semantic heading level and matched style variant.
glitchedbooleanfalseEnables the animated glitch treatment.
classNamestring-Extends the generated heading classes.

Use Tag instead of a separate as prop because the style system keys off the heading level directly.

Paragraph

Install

npx shadcn@latest add @cybercn/cyber-paragraph

Import

import { Paragraph } from "@/components/ui/cybercn/paragraph";

Usage

<Paragraph inverse dotted scanned="horizontal">
  Archive fragments remain readable despite signal corruption.
</Paragraph>

Standard body copy for longer descriptive passages and inline links.

Archive fragments remain readable despite signal corruption.

PropTypeDefaultNotes
inversebooleanfalseInverts the panel treatment.
dottedbooleanfalseAdds the dotted texture overlay.
scannedfalse | "horizontal" | "vertical"falseApplies animated scanline effects.
classNamestring-Adds extra layout or typography utilities.

List and List.Item

Install

npx shadcn@latest add @cybercn/cyber-list

Import

import { List } from "@/components/ui/cybercn/list";

Usage

<List variant="ol">
  <List.Item>Authenticate user shard</List.Item>
  <List.Item glitched>Route encrypted payload</List.Item>
  <List.Item>Write audit trail</List.Item>
</List>
  1. Authenticate user shard
  2. Route encrypted payload
  3. Write audit trail

List props

PropTypeDefaultNotes
variant"ul" | "ol""ul"Applies unordered or ordered list styling.
tag"ul" | "ol"inferred from variantOverride the rendered tag if needed.
native list propsReact.HTMLAttributes<HTMLOListElement | HTMLUListElement>-Supports id, role, className, and event handlers.

List.Item props

PropTypeDefaultNotes
glitchedbooleanfalseAdds the animated item treatment.
native li propsReact.LiHTMLAttributes<HTMLLIElement>-Standard list item attributes.

Hr

Install

npx shadcn@latest add @cybercn/cyber-hr

Import

import { Hr } from "@/components/ui/cybercn/hr";

Usage

<Hr glitched />


PropTypeDefaultNotes
glitchedbooleanfalseEnables the animated divider.
classNamestring-Adds spacing or color overrides.

Image

Install

npx shadcn@latest add @cybercn/cyber-image

Import

import { Image } from "@/components/ui/cybercn/image";

Usage

<Image
  src="/preview_light.png"
  alt="CyberCN light mode preview"
  width={1200}
  height={675}
  dotted
/>
CyberCN light mode preview
PropTypeDefaultNotes
dottedbooleanfalseAdds the dotted surface treatment.
Next image propsComponentPropsWithoutRef<typeof NextImage>-Requires the usual src, alt, and sizing props.

Because this wraps next/image, remote images still need to follow your Next.js image configuration rules.

On this page