Logoshadcn-docs-template
DocsDemo
Sections
  • Get Started
Getting Started
  • Introduction
  • Installation
Customization
  • Customizing the Template
  • MDC Components
  • Composables
  • Writing Documentation
Components
  • DocTabs
  • Callout
  • ComponentPreview
  • CommandMenu
  • CopyButton
  • DocsSidebar
  • DocsTableOfContents
  • PageHeader
  • SiteHeader
  • CopyCodeButton
  • DocsCopyPage
  • CodeBlockCommand
  • CommandMenuItem
  • CommandMenuKbd
  • GitHubLink
  • LucideIcon
  • MainNav
  • MobileNav
  • ModeSwitcher
  • PageHeaderDescription
  • PageHeaderHeading
  • SiteBody
  • SiteConfig
  • SiteFooter
  • OgImage (Custom)

SiteFooter

PreviousNext

A footer component for the documentation site.

The SiteFooter component provides a simple footer for your documentation site.

Usage

<script setup lang="ts">
import { SiteFooter } from '@/components/SiteFooter'
</script>

<template>
  <SiteFooter />
</template>

API Reference

SiteFooter

No props. Displays copyright text.

Styling

  • Uses CSS variable for height: --footer-height
  • Centered text
  • Muted foreground color
  • Responsive text sizes
  • Background adapts to body classes

Customization

To customize the footer content, edit SiteFooter.vue:

<template>
  <footer>
    <div>
      <span>&copy; Your Site Name</span>
      <!-- Add more content here -->
    </div>
  </footer>
</template>

Layout Integration

The footer height is controlled by the SiteBody component's CSS variables.

SiteConfigOgImage (Custom)

On This Page

UsageAPI ReferenceSiteFooterStylingCustomizationLayout Integration
© shadcn-vue.com