Corner Smoothing: CSS vs Lisse
Compare the same size, radius, and color across three corner treatments. The CSS example uses this site’s Tailwind utility, which sets native corner-shape: squircle. Lisse uses a different curve, so equal radius values do not guarantee identical outlines.
Compare the corners
Smoothing changes only Lisse. At 0%, it uses circular corners.
Your browser supports native CSS squircles.Your browser does not support corner-shape: squircle. The CSS example below shows ordinary rounded corners instead.
Circular corner arcs.
border-radius: 48px;Native corner shape via Tailwind.
border-radius: 48px;
corner-shape: squircle;Figma-style smoothing through a path.
generateClipPath(176, 176, {
radius: 48,
smoothing: 0.60,
curve: "squircle",
preserveSmoothing: false,
});All samples keep their pixel dimensions as you resize the page. The radius is capped at half the size. Lisse preserves that radius here and reduces smoothing if there is too little edge space, so large radii can make the smoothing control less noticeable.
What changes?
Explore further
Use native CSS when the browser’s corner curve fits your design and rounded corners are an acceptable fallback. Read the corner-shape documentation for its behavior and current browser compatibility.
Use Lisse when you want Figma-style smoothing with an adjustable amount. This experiment imports only its DOM-free path generator; the library also offers components and APIs for borders and shadows. See the Lisse repository for the full library.