Build · Reference

Component Library

A living inventory of the reusable components behind Red Bridge sites — what each is, where it lives, how mature it is, and (where it can be demoed inline) a live preview. Driven by src/data/components.ts.

29 components
  • stable 27
  • draft 2
  • deprecated 0

UI primitives 3

  • Button

    stable
    src/styles/ui.css

    Canonical button. Variants: primary (red), secondary, ink, light, outline, outline-light (white border for colored bands), ghost, plus a --lg size. Link buttons get a pixel arrow (global.css).

  • Tag

    stable
    src/styles/ui.css

    Small metadata pill for tech stacks and labels — the bare .tag span. The component form with a marker is ChipList.

    WordPress Astro Headless CMS PHP
  • Card

    stable
    CSS primitive

    Bordered content card — eyebrow, title, body, link. A recurring pattern, not yet a single canonical class.

    Category

    Sample card heading

    A sample card body with muted text. Cards use the border token and subtle radius for a clean, low-contrast look.

    Read more →

Prose elements 5

  • Inline code

    stable
    src/styles/prose.css

    Monospace inline code (.prose code) — a bordered chip on a cool background.

    Set WP_API_URL to your WordPress REST endpoint, then call getAllPosts() from lib/wordpress.ts.

  • Code block

    stable
    src/styles/prose.css

    Multi-line code panel (.prose pre) — ink-black background, light monospace, horizontal scroll. The canonical block used across blog and docs.

    // astro.config.mjs
    export default defineConfig({
      output: 'static',
      site: 'https://redbridgenet.com',
    })
  • Table

    stable
    src/styles/prose.css

    Data table (.prose table) — label-style uppercase headers, hairline cell borders, subtle header fill.

    TokenValue
    --space-416px
    --radius6px
    --container-max1120px
  • Blockquote

    stable
    src/styles/prose.css

    Pull quote (.prose blockquote) — accent left border, subtle fill, italic.

    We don't build and hand off — most client relationships are ongoing.

  • Divider

    stable
    src/styles/prose.css

    Hairline horizontal rule (.prose hr) for separating content blocks.


Grid system 3

  • GridHero

    stable
    src/components/GridHero.astro

    Full-bleed hero band with the graph-paper wash and animated decorative blocks. Snaps its height to the grid so the bottom divider lands on a wash line. Blocks are swappable: grayscale default, or the colorized COLOR_HERO_BLOCKS option (with `slow`, used on /brand).

  • GridFrame

    stable
    src/components/GridFrame.astro

    Framed content column with hairline edge-rails and corner markers. Wraps one or more GridRows; open-topped to sit under a GridHero, or `closed` for standalone.

  • GridRow

    stable
    src/components/GridRow.astro

    A padded row inside a GridFrame, with a bottom divider and "+" markers at the rail intersections.

Layout 3

  • DocLayout

    stable
    src/layouts/DocLayout.astro · since 2026-06

    Reference-doc layout: GridHero, blueprint frame, a sticky scrollspy TOC rail, and prose content. Powers the /docs collection.

  • Footer

    stable
    src/components/Footer.astro

    Site footer — blueprint-framed four-column layout with brand + social, site nav, live recent posts, and the build/reference links.

  • SectionHeader

    stable
    src/components/SectionHeader.astro

    Eyebrow + headline + optional subhead block; left- or center-aligned. The standard section lead-in.

    How we work

    Applied AI across the web lifecycle

    Senior engineers in the loop at every step.

Navigation 2

  • Nav

    stable
    src/components/Nav.astro

    Fixed sidebar navigation with the brand mark, pixel-icon links, active-route state, and a mobile toggle.

  • Pagination

    stable
    src/components/Pagination.astro

    Prev/next pagination control with page position, used on the paginated blog index.

Content & blog 3

  • ContentFeed

    stable
    src/components/ContentFeed.astro

    Stacked blog/projects feed with an optional scrollspy sidebar rail (shown once there are enough items).

  • FeedCard

    stable
    src/components/FeedCard.astro

    A single feed item (post or project) with pixel-icon, metadata, and X/LinkedIn share actions.

  • PostCard

    stable
    src/components/PostCard.astro

    Blog post card with optimized featured image, category, and reading time; supports a featured variant.

Data display 9

  • StatGrid

    stable
    src/components/StatGrid.astro

    Row of large display-figure stat tiles; caption style toggles between short caps and sentence-case.

    • 2009 Established
    • 40+ Projects
    • <1s Load time
  • SpecBar

    stable
    src/components/SpecBar.astro

    Label/value spec strip for case-study metadata (Client, Type, Platform, …).

    Client
    Neo4j
    Type
    Marketing site
    Platform
    WordPress
  • StatusList

    stable
    src/components/StatusList.astro

    Delivery checklist with status badges (e.g. DELIVERED / IN FLIGHT).

    • Delivered Homepage rebuild shipped to production.
    • In flight Blog URL redirects underway for launch.
  • ChipList

    stable
    src/components/ChipList.astro

    Pill chips for tags, tech stacks, and service lists; optional accent "›" marker for tech-stack lists.

    • WordPress
    • Astro
    • Cloudflare
    • Performance
  • FeatureGrid

    stable
    src/components/FeatureGrid.astro

    Grid of icon + title + body feature cards (e.g. a "The Solution" feature set).

    Applied AI

    AI woven into real delivery — content, tooling, and automation.

    Custom builds

    Bespoke themes and tooling, no page-builder bloat.

  • ArchFlow

    stable
    src/components/ArchFlow.astro

    Horizontal architecture flow — node cards joined by arrows; collapses to a vertical stack on mobile.

    1. WordPress Headless CMS + Gravity Forms endpoint.
    2. Astro SSG Static build on Cloudflare Pages.
    3. Visitor Fast static HTML, zero-JS baseline.
  • LogoCarousel

    stable
    src/components/LogoCarousel.astro · since 2026-06

    Full-bleed "Great work for great companies" client logo marquee — outer blueprint frame, fixed intro cell, infinite hover-pausable track with optional linked cells. Data from data/carousel.ts. Used on the homepage and /team.

  • BlueprintMap

    draft
    src/components/BlueprintMap.astro · since 2026-06

    Stylized map of the western US in the blueprint language — graph-paper wash, hairline state outlines, accent city markers with leader-line labels. Pins from data/locations.ts. Built for a "Where we are" section; currently unplaced.

  • ProcessTimeline

    draft
    src/components/ProcessTimeline.astro · since 2026-06

    Interactive animated process timeline — numbered nodes on a rail that draws (accent fill) as steps light up in sequence on scroll-in; hover/focus to pin a step. Horizontal on desktop, vertical on mobile. Used for "How we work" on /workflows.

Media & icons 1

  • PixelIcon

    stable
    src/components/PixelIcon.astro

    Renders an 8-bit pixel-art icon by name (from lib/pixelIcons.ts); inherits currentColor and stays crisp at any size.

    sparkgeartarget
    Full icon set