VisorVisor
ComponentsDeck

DeckFooter

A multi-column footer with navigation links, slide anchors, and built-in copyright.

Features

  • Multi-column link grid — organize links by category
  • Slide navigation via useDeck — links with slide scroll to that slide
  • Built-in colophon/copyright — automatic brand and year display

Installation

npx visor add deck-footer

Usage

import { DeckFooter } from '@/components/deck/deck-footer/deck-footer';

const columns = [
  {
    title: 'Sections',
    links: [
      { label: 'Introduction', slide: 's-intro' },
      { label: 'Features', slide: 's-features' },
      { label: 'Pricing', slide: 's-pricing' },
    ],
  },
  {
    title: 'Resources',
    links: [
      { label: 'Documentation', href: 'https://docs.example.com' },
      { label: 'GitHub', href: 'https://github.com/example', accent: true },
    ],
  },
];

export default function Example() {
  return (
    <DeckFooter
      description="A brief summary of the presentation."
      columns={columns}
      brandName="Low Orbit Studio"
    />
  );
}

API Reference

PropTypeDefaultDescription
descriptionstringFooter description text
columnsDeckFooterColumn[]Array of link columns
brandNamestring"Low Orbit Studio"Brand name for the copyright line
classNamestringAdditional CSS class

DeckFooterColumn

PropertyTypeDescription
titlestringColumn heading
linksDeckFooterLink[]Array of links in the column
PropertyTypeDescription
labelstringDisplay text
slidestringSlide ID to scroll to (uses useDeck)
hrefstringExternal URL
accentbooleanHighlight the link with accent styling