Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA continuous curvature shape generator with exported helpers: squirclePath(w, h, r, smoothing) for smoothed corners, superellipsePath(w, h, n) for full superellipses and a Squircle wrapper that clips any element to the shape at its measured size. The showcase lets you tune radius, smoothing and exponent against a dashed border-radius outline, plots curvature along the corner so the difference is visible, morphs between modes on a spring and copies the CSS clip-path. App tiles, photo avatars and a card all use the live shape and morph on hover.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { SquircleShapeKit } from "@/components/hyperblur-pro/squircle-shape-kit"
<SquircleShapeKit />
<Squircle radius={28} smoothing={0.7} style={{ width: 240, height: 160, background: "#6d5cff" }} />
const d = squirclePath(120, 120, 28, 0.6);
<svg width={120} height={120}><path d={d} /></svg>| Prop | Type | Default | Description |
|---|---|---|---|
| image | string | "https://images.unsplash.com/photo-1614850523459-c2f4c699c52e" | SquircleShapeKit: blurred backdrop and the card photo. |
| avatars | string[] | 4 Unsplash portraits | SquircleShapeKit: photos for the avatar stack. |
| cardImage | string | "https://images.unsplash.com/photo-1506905925346-21bda4d32df4" | SquircleShapeKit: photo inside the morphing card. |
| title / subtitle | string | "Corners that flow." | SquircleShapeKit: heading and paragraph. |
| accent | string | "#6d5cff" | Shape fill, slider fill and focus ring color. |
| defaultRadius / defaultSmoothing / defaultExponent | number | 64 / 0.6 / 5 | SquircleShapeKit: starting values of the generator. |
| appearance | "light" | "dark" | "auto" | "light" | SquircleShapeKit: light or dark glass panel. |
| radius / smoothing | number | 32 / 0.6 | Squircle: corner radius in px and smoothing from 0 (plain arc) to 1. |
| mode / exponent | "corner" | "superellipse" / number | "corner" / 5 | Squircle: smoothed corners or a full superellipse with exponent n. |
Source code is included in Pro and above