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

widenarrow-ui

v1.1.73

Published

A storybook 6 typeScript component library used for InfoDesk

Downloads

860

Readme

WIDENARROW UI

Welcome to WideNarrowUI, a component library for use in InfoDesk's products.

Installation

npm install widenarrow-ui

Setup in your project

Import the baseline.scss at the top of you stylesheets to a) properly normalize and reset css and b) apply the WNUI baseline to your project, making sure every component is rendered as intended c) and get the required fonts.

@import "widenarrow-ui/styles/baseline.scss"

Start building!

Import the component(s) you wish to use!

import { Box, Grid, Heading, Paragraph } from 'widenarrow-ui';

(...)

return (
    <Grid container>
        <Grid xs={12} md={4}>
            <Box displayFlex>
                <Heading type="h1">WideNarrow UI is great!</Heading>
                <Paragraph>And just look at how easy it is to use.</Paragraph>
            </Box>
        <Grid>
    </Grid>
)

Development

Storybook

Components are documented, viewed and developed in Storybook Running storybook for development

npm run start

Build

The project is built and bundled using rollup.js Building the project

npm run build

Publish to npm

Make sure the version in package.json is bumped. Publishing should always be made from master branch.

npm login

You need login information for npm (contact a collaborator). Type in these credentials now.

npm publish