1.1.3 • Published 3 years ago
@scotato/react-squircle v1.1.3
Squircle
Create squircles in React!
import Squircle from "@scotato/react-squircle";
<Squircle r1={0.2} r2={0.5} style={{width: 64, height: 64}}>
{/* children */}
</Squircle>
<Squircle p1={10} p2={32} style={{width: 64, height: 64}}>
{/* children */}
</Squircle>
This component is a remix of QuadFlask/react-superellipse.