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.

41 components
  • stable 37
  • draft 4
  • deprecated 0

UI primitives 3

  • Button

    stable
    src/styles/ui.css

    Canonical button. Variants: primary (red), secondary, ink, light, light-blue, 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 4

  • 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.

  • InsightLayout

    stable
    src/layouts/InsightLayout.astro · since 2026-07

    Insights-post layout: article hero (back link, meta, share), blueprint frame, and prose body. Wraps BaseLayout; powers the /insights posts.

  • 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.

Hero bands 5

  • IntroRail

    stable
    src/components/IntroRail.astro · since 2026-07

    Generalized "trusted-rail" layout carried under the hero: a fixed intro cell plus a slotted full-bleed band. Used on /projects, /workflows, /team, and /insights.

  • Equalizer

    stable
    src/components/Equalizer.astro · since 2026-07

    Full-bleed ambient LED spectrum-analyzer band with variant + ghost props. Slots into IntroRail; also previewed on /band-preview.

  • HeroPatternBand

    stable
    src/components/HeroPatternBand.astro · since 2026-07

    Full-bleed ambient band of pulsing color segments (DataRobot-inspired, rebuilt in the brand palette). Slots into IntroRail; used on /workflows.

  • NetworkBand

    draft
    src/components/NetworkBand.astro · since 2026-07

    Full-bleed ambient nodes-and-edges band with traveling pulses. A slottable IntroRail band; shown on /band-preview.

  • PlaceholderBand

    draft
    src/components/PlaceholderBand.astro · since 2026-07

    Empty full-bleed strip that reserves band space (identical footprint to the real bands) until a final animation is designed.

Navigation 3

  • CategoryNav

    stable
    src/components/CategoryNav.astro · since 2026-07

    Blog category filter pill-bar, persisted across View Transitions. Used on the blog index and category archives.

  • 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 13

  • 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.

  • TestimonialRotator

    stable
    src/components/TestimonialRotator.astro · since 2026-07

    Full-bleed client-praise marquee - sibling to LogoCarousel (outer frame, infinite hover-pausable track of quote cards; optional intro cell). Renders the featured subset of data/testimonials.ts. Rendered by the /fragments/testimonials route and embedded on /team via TestimonialEmbed.

  • TestimonialEmbed

    stable
    src/components/TestimonialEmbed.astro · since 2026-07

    Pulls the TestimonialRotator into a page via a same-origin, auto-sizing iframe to the noindexed /fragments/testimonials route - so the quote text stays out of the search index while the host page stays indexed. Used on /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.

  • ClientBigBoard

    stable
    src/components/ClientBigBoard.astro · since 2026-07

    Searchable, filterable flip-card board of the full client roster. Data-driven from data/clientWork.ts. Used on /projects.

  • ClientHighlights

    stable
    src/components/ClientHighlights.astro · since 2026-07

    Highlighted-clients block (GridFrame + scrollspy rail) built from ClientHighlight cells. Data-driven from data/caseStudies.ts. Used on /projects.

Media & icons 2

  • PixelScene

    stable
    src/components/PixelScene.astro · since 2026-07

    Renders multi-color pixel-art scenes from lib/pixelScenes.ts; theme-aware sibling to PixelIcon. Used on the homepage.

  • 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