Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@forbetterorworse/shapes-and-lines

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forbetterorworse/shapes-and-lines

A React library that randomly generates shapes and lines.

  • 0.2.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

shapes-and-lines

As the name suggests, this is a library that provides shape and line components.

Available components:

  • Shapes: renders multiple shapes that are placed randomly within a container
  • CurvedLines: renders multiple random curved lines
  • Polylines: renders multiple random polylines

Storybook page: https://forbetterorworse.github.io/shapes-and-lines/

Usage

Installation

To install the library in your project, run:

# npm
npm i @forbetterorworse/shapes-and-lines

# yarn
yarn add @forbetterorworse/shapes-and-lines

# pnpm
pnpm add @forbetterorworse/shapes-and-lines

Using the components

import {
  Shapes,
  CurvedLines,
  Polylines,
} from '@forbetterorworse/shapes-and-lines'

const MyApp = () => {
  return (
    <>
      <Shapes />
      <CurvedLines />
      <Polylines />
    </>
  )
}

Development

Tech Stack

The main tech this library uses:

  • React
  • React Icons
  • Vite
  • Storybook

Setup

Steps to setup the project locally:

  • Clone the repo
  • Run pnpm i to install the dependencies
  • Run pnpm storybook to start Storybook

Keywords

FAQs

Package last updated on 28 Aug 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc