🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@scotato/react-squircle

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scotato/react-squircle

Create squircles in React!

Source
npmnpm
Version
1.1.2
Version published
Weekly downloads
17
-41.38%
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 14 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts