Skip to content

COMPONENT / monolith-footer

Monolith Footer_

Footer with up to four link or text columns and a giant wordmark cropped by its bottom edge. Requires @cybr/tokens.

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/monolith-footer

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

Preview

Props

Component props
PropTypeDefaultDescription
columns{ heading: string; items: ({ label: string; href: string } | { text: string })[] }[]—Up to four columns. Items with href render as links; items with text render as plain lines, such as a build number.
wordmarkReactNodeCYBR//UIThe giant cropped wordmark, set in the display font.
classNamestring—Extra classes, merged after the defaults with cn().
...propsOmit<ComponentProps<"footer">, "children">—Every other native <footer> attribute and ref is forwarded.

Usage

Needs the stylesheet from @cybr/tokens. After the install, import it in app/globals.css:

@import "tailwindcss";
@import "../styles/cybr-tokens.css";
import { MonolithFooter } from "@/components/ui/monolith-footer";

export function SiteFooter() {
  return (
    <MonolithFooter
      columns={[
        { heading: "LIBRARY", items: [{ label: "Docs", href: "/docs" }] },
        { heading: "SYSTEM", items: [{ text: "REV 0.1" }] },
      ]}
    />
  );
}

States

Accessibility