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

arisen-front-components

v0.0.6

Published

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) ![NPM Version](https://img.shields.io/npm/v/arisen-front-components) ![NPM Downloads](https://img.shields.io/npm/dt/arisen-front-components) ![GitH

Readme

React Component Library (Based on MUI)

License: MIT NPM Version NPM Downloads GitHub Repo stars storybook

This is a React component library built on top of Material-UI (MUI), designed to provide customizable and reusable components for your applications. The library is currently in development, with the first component being ResizableDrawer.


Table of Contents


Installation

You can install the library:

npm install arisen-front-components

Usage

Import the components you need and use them in your project:

import { useState } from 'react';
import { Button } from '@mui/material';
import MoreVertIcon from '@mui/icons-material/MoreVert';
import { ResizableDrawer } from 'arisen-front-components';
import classes from './TestDrawer.module.css';

const App = () => {
  const [isOpen, setIsOpen] = useState(false);
  const handleOpen = () => setIsOpen(() => true);
  const handleClose = () => setIsOpen(() => false);

  return (
    <div>
      <Button variant="outlined" onClick={handleOpen}>
        open
      </Button>
      <ResizableDrawer
        open={isOpen}
        onOpen={handleOpen}
        onClose={handleClose}
        anchor="left"
        header={
          <div className={classes.header}>
            <Button variant="contained" size="small">
              sign in
            </Button>
            <Button variant="contained" size="small">
              sign up
            </Button>
          </div>
        }
        footer={<div>v0.0.1</div>}
        startPosition={300}
        minSize={200}
        maxSize={500}
        draggerClassName={classes.dragger}
        draggerIcon={<MoreVertIcon />}
      >
        <div>
          <p>children</p>
          <p>node</p>
        </div>
      </ResizableDrawer>
    </div>
  );
};

export default App;

Ensure you have MUI installed as a peer dependency:

npm install @mui/material @emotion/react @emotion/styled @mui/icons-material

Components

ResizableDrawer

The ResizableDrawer is a flexible and customizable drawer component with resizing functionality. It can be used to create side panels, navigation menus, or other layout elements that require adjustable widths.

Props

| Name | Type | Default | Description | |---------------------|----------------------|-------------------------------------------|-------------------------------------------------------------------------| | open | boolean | false | Controls whether the drawer is open or closed. | | onClose | () => void | undefined | Callback fired when the drawer is requested to be closed. | | onOpen | () => void | undefined | Callback fired when the drawer is requested to be opened. | | className | string | undefined | Custom CSS class applied to the drawer. | | header | ReactNode | undefined | Optional header content rendered at the top of the drawer. | | children | ReactNode | undefined | Content displayed in the main body of the drawer. | | footer | ReactNode | undefined | Optional footer content rendered at the bottom of the drawer. | | wistartPositiondth| number | 60% of viewport width | The initial width of the drawer. | | minSize | number | 350 | The minimum width of the drawer in pixels. | | maxSize | number | Viewport width minus 100px | The maximum width of the drawer in pixels. | | draggerIcon | ReactNode | <DragIndicatorIcon /> | Icon displayed for the dragger. | | draggerClassName | string | undefined | Custom CSS class for the dragger element. | | anchor | top right bottom left | right | Anchor position of the drawer. |

Example

<ResizableDrawer
  open={isOpen}
  onOpen={handleOpen}
  onClose={handleClose}
  anchor="right"
  header={
    <div className={classes.header}>
      <Button variant="contained" size="small">
        sign in
      </Button>
      <Button variant="contained" size="small">
        sign up
      </Button>
    </div>
  }
  footer={<div>v0.0.1</div>}
  startPosition={300}
  minSize={200}
  maxSize={500}
  draggerClassName={classes.dragger}
  draggerIcon={<MoreVertIcon />}
>
  <div>
    <p>children</p>
    <p>node</p>
  </div>
</ResizableDrawer>

Storybook

This library includes a Storybook instance for visualizing and testing components.

Running Storybook Locally

To start the Storybook development server, run:

npm run storybook

Building Storybook

To build a static version of the Storybook for deployment:

npm run build-storybook

The static files will be output to the storybook-static directory.

Storybook Demo

You can view a live version of the Storybook here.


Development

To contribute or extend the library, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/your-repository-name.git
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev
  4. Run Storybook for component development:

    npm run storybook

License

This project is licensed under the MIT License.