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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@osmiami/component-library

v1.1.2

Published

An open source React Component Library [![Netlify Status](https://api.netlify.com/api/v1/badges/e19d8b1e-882e-4c7a-9db4-170665a7aaff/deploy-status)](https://app.netlify.com/sites/osmiami-lib/deploys)

Downloads

8

Readme

Open Source Miami's Component Library

Netlify Status

All Contributors

A React component library created so that we could standardize the design and behavior throughout all of our sites and products. The objective is not to make a full component library like Material, or Bootstrap. We are just planning to make whatever is needed to complete our projects, and accumulate all of the components over time.

Storybook

This project is utilizing a JavaScript Library called Storybook which is, "an open source tool for developing UI component in isolation for React, Vue, and Angular." This UI allows us to catalog all of our components and documentation in one place. Storybook runs alongside your app in development mode.

Building the UI Components first follows a Component-Driven Development methodology.

To start building components with Storybook, take a look at the documentation here

Getting Started - Local Development

If you have Node and Typescript installed on your system getting started should be fairly simple.

  1. Clone or Fork the repo (Should you clone or fork the repo? we kind of talk about that in the Contributing section)

        git clone https://github.com/open-source-miami/component-library.git
  1. Install node modules

        npm install
  1. Run Projects locally

        npm run start

The script should open the local version of our component storybook in your default browser. If all is well you should see our storybook on http://localhost:6006/

If you need additional information about setting up your development environment take a look at our setup doc.

Deploying this project

The static version of the site is going to be deployed to Netlify. Netlify makes it incredibly easy to deploy just give it authorization to access the repo, and let it know how to build the static files, in our case:

        npm run build-storybook

Then you just tell it where the static files are going to be stored, with most projects it would be called build or dist, but for this project static files are stored under storybook-static.

See the status of our latest deployment: Netlify Status

Our site is hosted here

Contributing

For information on how you could help us build out these components, and improve the library take a look at the contributing doc.

If this is your first time contributing to an Open Source Project, maybe it would be a good idea to take a look at this short course by Kent C Dodds.

Contributors

We are going to try to follow the all-contributors specification.

We have a bot installed in all of our repos, to help us manage contributors list, for info on how to use it take a look at the docs here

Components

For a full list of components featured in this repo take a look at components doc, or better yet take a look at the Storybook online here

Examples

We should probably give you some live examples of how to use these components.