SVG shapes
Wide viewBox line-art panels for landing pages: polygons, architectural silhouettes, sacred geometry, and Platonic wire projections. Shape via currentColor and light fill tints; pass flip to mirror without editing paths.
Polygons & curves
Triangle
Circle
Ellipse
Semicircle (D panel)
Right triangle
Kite
Pennant
Quarter circle
Rounded & architectural
Rounded square
Rounded triangle
Squircle
Gothic arch panel
Bracket (line art)
Arrow pentagon
Sacred geometry
Vesica piscis
Seed of life
Flower of life
Metatron’s cube
Sri Yantra
Golden spiral
Torus tube
Platonic solids (wire projections)
Tetrahedron
Cube
Octahedron
Icosahedron
Dodecahedron
Flip prop
none
vertical
horizontal
both axes
Installation
pnpm dlx shadcn@latest add https://cult-ui.com/r/svg-shapes.json
Usage
Import only the shapes you need. Each export is a React component that renders an <svg> with a shared wide viewBox (typically 2400×800–1200).
import {
TriangleShapeSvg,
GothicArchPanelSvg,
FlowerOfLifeSvg,
} from "@/components/ui/svg-shapes"
export function HeroStrip() {
return (
<div className="text-foreground/20 w-full max-w-4xl">
<GothicArchPanelSvg />
</div>
)
}Props
| Prop | Type | Default |
|---|---|---|
className | string | — |
flip | "none" | "vertical" | "horizontal" | "both" | "none" |
Stroke and fill use currentColor (and tinted fills on filled shapes) so you control appearance with Tailwind classes on a wrapper.
Notes
- Line-art exports (e.g. bracket, wire solids) use
fill-noneso only strokes show. - For localized
fixedor transform behavior, wrap in a container withtransform-gpu/isolatelike other full-bleed effects.