SVG Bands

PreviousNext

Wide 2400-grid SVG section trims — battlements, zigzags, steep hero bands, wavy footers, and dual-notch frames for landing pages.

SVG bands

Wide (2400-based) section ornaments: battlement and zigzag trims, steep hero headers, and frame panels. Styling follows currentColor with light fill tints — pair with your background and type color.

Profile bands

Flat single angle

Flat top band with single right-side angle

Castle wall (12 merlons)

Castle wall battlement band

Symmetric V

Symmetric V-profile top band

Twin top notches

Top band with twin notches

Zigzag (12 teeth)

Zigzag sawtooth section band

Zigzag (8 teeth)

Zigzag sawtooth section band

Center tab

Band band with centered top tab

Diagonal slash

Diagonal slash parallelogram band

Arrow chevron

Right-pointing arrow chevron band

Staircase

Descending staircase section band

Stepped left, steep right

Left stepped edge with steep right angle band

Panels and frames

Stepped inset frame

Inset stepped rectangular frame panel

Angled corner panel

Panel with chamfered corners

Dual side notch frame

Ornamental frame with dual side notches

Tall angled hero

Tall angled hero backdrop panel

Steep tops, bottom trims

Top steep right

Band top band, steep slope on the right

Top steep both

Band top band, steep on both sides

Top steep left

Band top band, steep slope on the left

Bottom steep right (mirrored)

Band bottom band, mirrored steep-right top geometry

Wavy bottom

Band bottom, undulating wave trim

Center tab top (wide grid)

Band top, single centered tab band

Pyramid steps

Four steps

Band band, symmetric pyramid stair steps

Twelve steps

Band band, twelve symmetric pyramid stair steps

Generic BandShape + path builders

BandShape · castleWallBandPath(6)

Custom battlement from path helper

BandShape · zigzagSawtoothBandPath(10)

Custom sawtooth from path helper

BandShape flip prop

none

Slab band flip demo

vertical

Slab band flip demo

horizontal

Slab band flip demo

both axes

Slab band flip demo

Installation

pnpm dlx shadcn@latest add https://cult-ui.com/r/svg-bands.json

Usage

Use preset components for common silhouettes, or BandShape with your own closed path and viewBox. Several exports expose path builder functions (castleWallBandPath, zigzagSawtoothBandPath) if you need different merlon or tooth counts without duplicating geometry.

import { TopBandSteepRightSvg, BandShape, castleWallBandPath, } from "@/components/ui/svg-bands" export function SectionDivider() { return ( <div className="text-foreground/30 w-full"> <TopBandSteepRightSvg /> </div> ) } export function CustomBattlement() { return ( <BandShape viewBox="0 0 2400 180" path={castleWallBandPath(8)} title="Eight-tooth battlement" /> ) }

BandShape props

PropTypeDefault
pathstring(required)
viewBoxstring(required)
flip"none" | "vertical" | "horizontal" | "both""none"
classNamestring
titlestring"Decorative section shape"

Preset components are mostly className only; ZigzagSawtoothBandSvg accepts optional teeth (default 12, must be ≥ 2).

Path helpers

ExportNotes
castleWallBandPath(n)n ≥ 1 merlons along the 2400-wide grid
zigzagSawtoothBandPath(n)n ≥ 2 teeth; pairs with default zigzag viewBox height

Notes

  • Ornamental exports (DualSideNotchFrameSvg, WavyBottomEdgeSvg, CenterTabTopBandSvg) bundle responsive Tailwind classes for small breakpoints; override with className if needed.
  • BottomBandSteepRightSvg already applies a vertical flip so the steep geometry reads as a footer trim.