Outlined Mega Mark

Full-width responsive outlined headline with transparent fill and separate stroke colors for light and dark backgrounds — ideal for landing footers.

UniqueUI CLI

npx uniqueui add outlined-mega-mark

shadcn CLI

npx shadcn@latest add https://uniqueui.com/r/outlined-mega-mark.json -y

shadcn path expects @/lib/utils (run shadcn init first). Same source file is installed to components/ui/.

Preview

UniqueUI

Usage

"use client";
import { OutlinedMegaMark } from "@/components/ui/outlined-mega-mark";

export default function LandingFooter() {
  return (
    <OutlinedMegaMark
      fontSize="clamp(11.25rem, 10vw, 14.25rem)"
      strokeWidth={1}
      lightStrokeColor="var(--color-neutral-300)"
      darkStrokeColor="var(--color-neutral-700)"
      letterSpacing="-0.02em"
    >
      UniqueUI
    </OutlinedMegaMark>
  );
}

Props

PropTypeDescription
childrenReact.ReactNodeText or nodes rendered in both light and dark stroke layers.
fontSizestringAny valid CSS font-size (clamp, rem, px, etc.).
letterSpacingstringCSS letter-spacing for the headline.
lightStrokeColorstringOutline colour when the page is in light mode.
darkStrokeColorstringOutline colour when the page is in dark mode.
strokeWidthnumber | stringOutline width; numbers become px (e.g. 2 → 2px). Use a string for units like rem.
containerClassNamestringOptional Tailwind classes for the outer wrapper.
classNamestringOptional Tailwind classes for the inner paragraph.