npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nerilla-shapes

v2.0.1

Published

A beautiful, customizable collection of SVG shape components for React. Use them as backgrounds, buttons, badges, or decorative elements in your next project!

Readme

Nerilla Shapes

A beautiful, customizable collection of SVG shape components for React. Use them as backgrounds, buttons, badges, or decorative elements in your next project!

Board

Installation

Install the package via npm or yarn:

npm install nerilla-shapes

or

yarn add nerilla-shapes

Note: nerilla-shapes requires react >= 16.8.0 and react-dom >= 16.8.0 as peer dependencies.

Quick Start

Import the shapes you need and drop them into your components:

import { WavyShape, SparkleShape, StarBurstShape } from 'nerilla-shapes';

function App() {
  return (
    <div style={{ display: 'flex', gap: '16px', alignItems: 'center' }}>
      <WavyShape 
        text="Hello!" 
        color="purple" 
        textColor="white" 
        hoverColor="pink" 
        hoverScale={1.1} 
      />
      <SparkleShape width={50} height={50} color="gold" hoverColor="orange" />
      <StarBurstShape text="New" color="tomato" textColor="white" hoverScale={1.2} />
    </div>
  );
}

export default App;

Global Prop Overrides

All shapes now support standard CSS overrides and transition customisations natively:

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | hoverScale | number | undefined | Interactive scale-factor on hover (e.g. 1.1 to grow 10%) | | transitionDuration | number | 200 | Hover transition duration speed in milliseconds | | className | string | undefined | Custom classes (Tailwind CSS compatible, e.g. hover:rotate-6) | | style | CSSProperties | undefined | Inline style overrides |


Shapes & Props

WavyShape

A smooth, wavy blob shape, perfect for tags or labels.

WavyShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 88.03 | Width of the shape in pixels | | height | number | 36.08 | Height of the shape in pixels | | color | string | '#E0FFE4' | Fill color of the shape | | strokeColor | string | 'black' | Border color of the shape | | strokeWidth | number | 4 | Border thickness | | zIndex | number | 308 | Z-index of the container | | text | string | undefined | Text to display over the shape | | textColor | string | 'black' | Color of the text overlay | | fontSize | string \| number | undefined | Font size of the overlay text (e.g., '14px', '1.2rem') | | fontFamily | string | undefined | Font family of the overlay text (e.g., 'Inter', 'font-qomra') | | hoverColor | string | undefined | Dynamic background fill color on hover | | hoverStrokeColor | string | undefined | Dynamic border color on hover | | hoverTextColor | string | undefined | Dynamic overlay text color on hover |


WavyShapeCompact

A tighter, more condensed wavy blob shape.

WavyShapeCompact

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 158.29 | Width of the shape in pixels | | height | number | 41.41 | Height of the shape in pixels | | color | string | '#E0FFE4' | Fill color of the shape | | strokeColor | string | 'black' | Border color of the shape | | strokeWidth | number | 5 | Border thickness | | zIndex | number | 318 | Z-index of the container | | text | string | undefined | Text to display over the shape | | textColor | string | 'black' | Color of the text overlay | | fontSize | string \| number | undefined | Font size of the overlay text (e.g., '14px', '1.2rem') | | fontFamily | string | undefined | Font family of the overlay text (e.g., 'Inter', 'font-qomra') | | hoverColor | string | undefined | Dynamic background fill color on hover | | hoverStrokeColor | string | undefined | Dynamic border color on hover | | hoverTextColor | string | undefined | Dynamic overlay text color on hover |


WavyShape3 (Multi-Pill Shape)

An overlapping pill shape that stretches. Great for buttons! Uses children instead of text for fully customizable content.

WavyShape3

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 309 | Width of the shape in pixels | | height | number | 205 | Height of the shape in pixels | | color | string | '#0080FF' | Fill color of the shape | | zIndex | number | 1 | Z-index of the container | | children | ReactNode | undefined | Custom content to render inside the shape | | hoverColor | string | undefined | Dynamic background fill color on hover |


SparkleShape

A sparkly star shape for highlights or decorations.

SparkleShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 13.8 | Width of the shape in pixels | | height | number | 12.26 | Height of the shape in pixels | | color | string | 'black' | Fill color of the shape | | strokeColor | string | 'none' | Border color of the shape | | strokeWidth | number | 0 | Border thickness | | zIndex | number | 319 | Z-index of the container | | hoverColor | string | undefined | Dynamic background fill color on hover | | hoverStrokeColor | string | undefined | Dynamic border color on hover |


SmileyShape

A cute, round smiley face blob.

SmileyShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 16.1 | Width of the shape in pixels | | height | number | 18.51 | Height of the shape in pixels | | color | string | 'black' | Fill color of the face | | detailsColor | string | 'white' | Color of the eyes, smile, and eyebrows | | strokeColor | string | 'black' | Border color of the face | | strokeWidth | number | 1 | Border thickness | | detailsStrokeWidth | number | 5 | Thickness of the smile/eyebrows | | zIndex | number | 318 | Z-index of the container | | hoverColor | string | undefined | Dynamic background face color on hover | | hoverDetailsColor | string | undefined | Dynamic eye/eyebrow/smile detail color on hover | | hoverStrokeColor | string | undefined | Dynamic border stroke color on hover |


CloverShape

A four-leaf clover shape.

CloverShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 44 | Width of the shape in pixels | | height | number | 39.43 | Height of the shape in pixels | | color | string | '#7FBC8C' | Fill color of the shape | | strokeColor | string | 'black' | Border color of the shape | | strokeWidth | number | 3 | Border thickness | | zIndex | number | 372 | Z-index of the container | | hoverColor | string | undefined | Dynamic background fill color on hover | | hoverStrokeColor | string | undefined | Dynamic border color on hover |


CapsuleShape

Two stacked capsule halves forming a symmetrical shape.

CapsuleShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 39.43 | Width of the shape in pixels | | height | number | 39.43 | Height of the shape in pixels | | color | string | '#2D94BE' | Fill color of the shape | | strokeColor | string | 'black' | Border color of the shape | | strokeWidth | number | 3 | Border thickness | | zIndex | number | 377 | Z-index of the container | | hoverColor | string | undefined | Dynamic background fill color on hover | | hoverStrokeColor | string | undefined | Dynamic border color on hover |


WindowGridShape

A four-pane window shape.

WindowGridShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 39.43 | Width of the shape in pixels | | height | number | 39.43 | Height of the shape in pixels | | color | string | '#DF5751' | Fill color of the shape | | strokeColor | string | 'black' | Border color of the shape | | strokeWidth | number | 3 | Border thickness | | zIndex | number | 382 | Z-index of the container | | hoverColor | string | undefined | Dynamic background fill color on hover | | hoverStrokeColor | string | undefined | Dynamic border color on hover |


LayerCakeShape

Three stacked ellipses resembling a layer cake.

LayerCakeShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 39.43 | Width of the shape in pixels | | height | number | 39.43 | Height of the shape in pixels | | color | string | '#FFBF00' | Fill color of the shape | | strokeColor | string | 'black' | Border color of the shape | | strokeWidth | number | 3 | Border thickness | | zIndex | number | 387 | Z-index of the container | | hoverColor | string | undefined | Dynamic background fill color on hover | | hoverStrokeColor | string | undefined | Dynamic border color on hover |


WavyBadgeShape

A wavy, circular badge shape. Perfect for achievements or profile pictures.

WavyBadgeShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 62.22 | Width of the shape in pixels | | height | number | 62.91 | Height of the shape in pixels | | color | string | 'black' | Fill color of the shape | | strokeColor | string | 'white' | Border color of the shape | | strokeWidth | number | 5 | Border thickness | | zIndex | number | 305 | Z-index of the container | | text | string | undefined | Text to display over the shape | | textColor | string | 'white' | Color of the text overlay | | fontSize | string \| number | undefined | Font size of the overlay text (e.g., '14px', '1.2rem') | | fontFamily | string | undefined | Font family of the overlay text (e.g., 'Inter', 'font-qomra') | | hoverColor | string | undefined | Dynamic background fill color on hover | | hoverStrokeColor | string | undefined | Dynamic border color on hover | | hoverTextColor | string | undefined | Dynamic overlay text color on hover |


StarBurstShape

A spiky starburst shape. Great for alerts, notifications, or highlights.

StarBurstShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 114 | Width of the shape in pixels | | height | number | 114 | Height of the shape in pixels | | color | string | 'white' | Fill color of the shape | | strokeColor | string | 'none' | Border color of the shape | | strokeWidth | number | 0 | Border thickness | | zIndex | number | 426 | Z-index of the container | | text | string | undefined | Text to display over the shape | | textColor | string | 'black' | Color of the text overlay | | fontSize | string \| number | undefined | Font size of the overlay text (e.g., '14px', '1.2rem') | | fontFamily | string | undefined | Font family of the overlay text (e.g., 'Inter', 'font-qomra') | | hoverColor | string | undefined | Dynamic background fill color on hover | | hoverStrokeColor | string | undefined | Dynamic border color on hover | | hoverTextColor | string | undefined | Dynamic overlay text color on hover |


Social Shapes

A collection of clean, customizable social media brand icon shapes.

InstagramShape

An Instagram logo brand shape.

InstagramShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 24 | Width of the shape in pixels | | height | number | 24 | Height of the shape in pixels | | color | string | 'white' | Fill color of the icon | | zIndex | number | undefined | Z-index of the container | | hoverColor | string | undefined | Dynamic fill color of the icon on hover |


BehanceShape

A Behance logo brand shape.

BehanceShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 24 | Width of the shape in pixels | | height | number | 24 | Height of the shape in pixels | | color | string | 'white' | Fill color of the icon | | zIndex | number | undefined | Z-index of the container | | hoverColor | string | undefined | Dynamic fill color of the icon on hover |


DribbbleShape

A Dribbble logo brand shape.

DribbbleShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 24 | Width of the shape in pixels | | height | number | 24 | Height of the shape in pixels | | color | string | 'white' | Fill color of the icon | | zIndex | number | undefined | Z-index of the container | | hoverColor | string | undefined | Dynamic fill color of the icon on hover |


LinkedInShape

A LinkedIn logo brand shape.

LinkedInShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 24 | Width of the shape in pixels | | height | number | 24 | Height of the shape in pixels | | color | string | 'white' | Fill color of the icon | | zIndex | number | undefined | Z-index of the container | | hoverColor | string | undefined | Dynamic fill color of the icon on hover |


FacebookShape

A Facebook logo brand shape.

FacebookShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 24 | Width of the shape in pixels | | height | number | 24 | Height of the shape in pixels | | color | string | 'white' | Fill color of the icon | | zIndex | number | undefined | Z-index of the container | | hoverColor | string | undefined | Dynamic fill color of the icon on hover |


WhatsAppShape

A WhatsApp chat bubble logo brand shape.

WhatsAppShape

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | width | number | 24 | Width of the shape in pixels | | height | number | 24 | Height of the shape in pixels | | color | string | 'white' | Fill color of the icon | | zIndex | number | undefined | Z-index of the container | | hoverColor | string | undefined | Dynamic fill color of the icon on hover |