codepenz
← Back to catalog

Squircle Button System

An 11-color button system where every button's superellipse-rounded shape is generated by a hand-rolled squircle path function, sized from a real canvas text measurement, and rendered as a stack of gradient-filled SVG paths that press flat on pointerdown — palette swatches, icon-only squares, size variants, a full-width button, and a floating action button.

ComponentsButtonssvgsuperellipsecanvas-measurement
Added July 9, 2026

Button Palette

Square Icons

Sizing & Layouts