Componentnavigation0.52 KB gzipZero dependencies
Footer Minimal
Single-row minimal footer: brand, links, copyright.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add footer-minimalOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { FooterMinimal } from "@/components/ui/footer-minimal"; <FooterMinimal />Source code
footer-minimal.tsx + 1 helperZero third-party dependencies (2 local files shown in tabs below).
tsxfooter-minimal.tsx28 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface FooterMinimalProps extends React.HTMLAttributes<HTMLElement> { brand?: string; links?: { label: string; href: string }[]; copyright?: string;} /** Single-line minimal footer: branding + links + copyright. */export function FooterMinimal({ brand = "bigbullui", links = [], copyright = "© 2026", className, ...props }: FooterMinimalProps) { return ( <footer className={cn("flex flex-wrap items-center justify-between gap-3 border-t-2 border-dashed border-border px-4 py-3", className)} {...props}> <span className="font-mono text-xs font-bold uppercase tracking-widest animate-[fade-in_0.4s_ease-out_both] motion-reduce:animate-none">{brand}</span> <nav className="flex flex-wrap items-center gap-4 animate-[fade-in_0.4s_ease-out_0.1s_both] motion-reduce:animate-none" aria-label="Footer links"> {links.map((l) => ( <a key={l.href} href={l.href} className="text-xs text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring rounded-sm motion-reduce:transition-none"> {l.label} </a> ))} </nav> <span className="font-mono text-[10px] text-muted-foreground animate-[fade-in_0.4s_ease-out_0.2s_both] motion-reduce:animate-none">{copyright}</span> </footer> );} Props
Interactive Prop Playground
Tweak parsed AST props below to generate ready-to-paste JSX.
tsx3 lines
import { FooterMinimal } from "@/components/ui/footer-minimal"; <FooterMinimal />| Prop | Type | Description |
|---|---|---|
| brand | string | Configures brand. (Default: "bigbullui") |
| links | { label: string; href: string }[] | Configures links. (Default: []) |
| copyright | string | Configures copyright. (Default: "© 2026") |