Skip to content

Halloween Banner

A glowing seasonal banner with spiders bobbing on threads, jittering jack-o'-lanterns and embers that burst on the floor.

2 variantsProNew

Preview

Preview

Installation

Halloween Banner is part of Floret Pro. It follows Floret's theme tokens, so light and dark mode work out of the box.

Floret ProPro

Your license unlocks this component and all of its source. Sign in once, then install it with the CLI. Follow the steps below.

  1. Sign in with your license

    Paste the key from your purchase email. Once per computer.

    pnpm dlx @shipped-ui/floret login <license-key>
  2. Add Halloween Banner

    The CLI checks your license, then copies the source with every dependency and theme token.

    pnpm dlx @shipped-ui/floret add halloween-banner

Usage

Pass your own data and wire the callbacks to your app.

import { HalloweenBanner } from "@/components/ui/halloween-banner";

// Optional: load a display face and expose it as --font-spooky.
// import localFont from "next/font/local";
// const spooky = localFont({ src: "./fonts/HALLOWEEN.ttf", variable: "--font-spooky" });

<HalloweenBanner title="HAPPY HALLOWEEN" className="bg-neutral-950" />

Props

PropTypeDefaultDescription
titlestring"HAPPY HALLOWEEN"Headline; also the banner's accessible name.
colorstring"#ffaa00"Glow color for the title, embers and candle light.
pumpkinColorstring"#d97706"Pumpkin body color.
fontFamilystring"var(--font-spooky, ui-serif), …"Title font stack. Set --font-spooky globally to theme every banner at once.
embersbooleantrueFalling embers that burst into sparks.
classNamestring—Set the background here — the banner is transparent.

Credits

The preview uses the Halloween font by Winarko (WinType).