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

@algorithmhub/dash-responsive-grid-layout

v0.0.1

Published

dash-responsive-grid-layout

Readme

Dash Component Boilerplate

This repository contains the minimal set of code required to create your own custom Dash component.

To create your own Dash component:

  1. Fork this repo
  2. Find-and-replace:
    1. dash_responsive_grid_layout with your component library name.
    2. dash-responsive-grid-layout with your component library name.
    3. Alex Cabello with your name and [email protected] with your email address
    4. MIT with your license (e.g. MIT)
    5. Rename the folder dash_responsive_grid_layout/ with your component library name
  3. Install the dependencies:
npm install
  1. Open up the JavaScript demo environment:
npm run start
  1. Write your component code in src/lib/components. There is a sample component called ExampleComponent.react.js that you can use for inspiration. The demo app is in src/demo and you will import your example component code into your demo app.

  2. Test your code in a Python environment:

    1. Build your code
    npm run build:js-dev
    npm run build:py
    1. Run and modify the usage.py sample dash app:
    python usage.py
  3. Create a production build and publish:

    1. Build your code:
    npm run build:js
    npm run build:py
    1. Create a Python tarball
    python setup.py sdist

    This distribution tarball will get generated in the dist/ folder

    1. Test your tarball by copying it into a new environment and installing it locally:
    pip install dash_responsive_grid_layout-0.0.1.tar.gz
    1. If it works, then you can publish the component to NPM and PyPI:
    npm run publish
    twine upload dist/dash_responsive_grid_layout-0.0.1.tar.gz
  4. Share your component with the community! https://community.plot.ly/c/dash

More details

  • Include CSS files in your distribution folder (dash_responsive_grid_layout) and reference them in MANIFEST.in
  • The tests folder contains a sample integration test. This will run a sample Dash app in a browser. Run this with:
    python -m tests.test_render
    The Dash team uses these types of integration tests extensively. Browse the Dash component code on GitHub for more examples of testing (e.g. https://github.com/plotly/dash-core-components)
  • Publishing your component to NPM will make the JavaScript bundles available on the unpkg CDN. By default, Dash servers the component library's CSS and JS from the remote unpkg CDN, so if you haven't published the component package to NPM you'll need to set the serve_locally flags to True. We will eventually make serve_locally=True the default, follow our progress in this issue.
  • Watch the component boilerplate repository to stay informed of changes to our components.

More Resources

  • Learn more about Dash: https://dash.plot.ly
  • View the original component boilerplate: https://github.com/plotly/dash-component-boilerplate