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

launchpad-react-lib

v1.3.5

Published

```bash npm install launchpad-react-lib ```

Downloads

14

Readme

Installation:

npm install launchpad-react-lib

Copy Tailwind Configuration

import type { Config } from 'tailwindcss'

const config: Config = {
    content: [
        './pages/**/*.{js,ts,jsx,tsx,mdx}',
        './components/**/*.{js,ts,jsx,tsx,mdx}',
        './app/**/*.{js,ts,jsx,tsx,mdx}',
        './node_modules/launchpad-react-lib/components/*.tsx', // for the components
    ],
    theme: {
        extend: {
            colors: {
                'btn-primary': 'var(--btn-primary)',
                'btn-primary-hover': 'var(--btn-primary-hover)',
                'btn-disabled': 'var(--btn-disabled)',
                'btn-disabled-text': 'var(--btn-disabled-text)',

                'tab-brand-100': 'var(--tab-brand-100)',
                'tab-brand-100-hover': 'var(--tab-brand-100-hover)',
                'tab-brand-200': 'var(--tab-brand-200)',
                'tab-brand-300': 'var(--tab-brand-300)',
                'tab-brand-200-hover': 'var(--tab-brand-200-hover)',

                'input-brand-border': 'var(--input-brand-border)',
                'input-brand-error': 'var(--input-brand-error)',
                'input-brand-placeholder': 'var(--input-brand-placeholder)',
                'input-brand-active-border': 'var(--input-brand-active-border)',
                'input-brand-bg-disabled': 'var(--input-brand-bg-disabled)',

                'dropdown-hover': 'var(--dropdown-hover)',
                'dropdown-border': 'var(--dropdown-border)',
                'dropdown-placeholder': 'var(--dropdown-placeholder)',
                'dropdown-brand-100': 'var(--dropdown-brand-100)',
                'dropdown-error': 'var(--dropdown-error)',
            },
        },
    },
    plugins: [],
}
export default config

Copy Global CSS

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --btn-primary: #12518c;
    --btn-primary-hover: #1e73bf;
    --btn-disabled: #a6b8cc;
    --btn-disabled-text: #576b7c;

    --tab-brand-100: #12518c;
    --tab-brand-100-hover: #1e73bf;
    --tab-brand-200: #eff0f4;
    --tab-brand-200-hover: #dde2e9;
    --tab-brand-300: #979797;

    --input-brand-border: #e5e5e5;
    --input-brand-error: #ff0000;
    --input-brand-placeholder: #a9a9a9;
    --input-brand-active-border: #12518c;
    --input-brand-bg-disabled: #f7f7f8;

    --dropdown-hover: #d9e5f3;
    --dropdown-border: #e5e5e5;
    --dropdown-placeholder: #a9a9a9;
    --dropdown-brand-100: #12518c;
    --dropdown-error: #ff0000;
}

body {
    font-family: 'Poppins';
}

@layer base {
    h1 {
        @apply text-2xl lg:text-3xl xl:text-4xl;
    }
    h2 {
        @apply text-xl lg:text-2xl xl:text-[32px];
    }
    h3 {
        @apply text-lg lg:text-xl xl:text-2xl;
    }
    h4,
    h5,
    h6 {
        @apply text-base lg:text-lg;
    }
    body {
        @apply text-sm lg:text-base;
    }
}

To Preview Components with Documentation

1. Clone the Project

git clone https://github.com/CodersLaunchpad/Launchpad_react_lib.git

2. Install the neccessary dependencies

npm i

2. Run the storybook

npm run storybook