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

starlord-ui-library

v0.1.227-beta

Published

Starlord UI Library is a component library built with Tailwind CSS and TypeScript. The library provides a collection of reusable UI components that can be used to create beautiful and functional user interfaces for web applications.

Downloads

6

Readme

Starlord ui library

Starlord UI Library is a component library built with Tailwind CSS and TypeScript. The library provides a collection of reusable UI components that can be used to create beautiful and functional user interfaces for web applications.

To get you started, let's install the library

Installation

npm install starlord-ui-library

or

yarn add starlord-ui-library

The library is built with Tailwind CSS and TypeScript. To use the library, you need to install Tailwind CSS and its dependencies.

Then add the css file to your project at index.tsx

import "starlord-ui-library/dist/tailwind.css"

Then we need to add "fluff" to the index.scss file. example/styles/index.scss

Populate the tailwind.config.js file with the following:

const colors = require("tailwindcss/colors");

module.exports = {
  content: {
    enabled: true,
    content: [
      "./src/*.{js,jsx,ts,tsx}",
      "./src/**/*.{js,jsx,ts,tsx}",
      "./src/**/**/*.{js,jsx,ts,tsx}",
      "./node_modules/uafrica-ui-framework/build/*.{js,jsx,ts,tsx}",
      "./public/index.html"
    ],
    options: {
      safelist: [/data-theme$/]
    }
  },
  media: false, // or 'media' or 'class'
  theme: {
    screens: {
      xs: "475px",
      sm: "640px",
      md: "768px",
      lg: "1024px",
      xl: "1280px",
      "2xl": "1536px"
    },
    boxShadow: {
      sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
      DEFAULT: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
      md: "0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03)",
      lg: "0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03)",
      xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
      "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
      "3xl": "0 35px 60px -15px rgba(0, 0, 0, 0.3)",
      inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",
      none: "none"
    },
    extend: {
      spacing: {
        120: "30rem"
      },
      transitionProperty: {
        width: "width"
      },
      colors: {
        transparent: "transparent",
        current: "currentColor",
        black: colors.black,
        white: colors.white,
        gray: colors.neutral,
        turquise: colors.turquise,
        indigo: colors.indigo,
        red: { ...colors.red, light: "#FCA5A5", DEFAULT: "#DC2626", dark: "#991B1B" },
        green: {
          ...colors.green,
          100: "rgb(231, 255, 209)",
          500: "#06b73d",
          DEFAULT: "#06b73d"
        },
        pink: {
          ...colors.pink,
          100: "#FFDFDC",
          500: "#FF024E",
          DEFAULT: "#FF024E"
        },
        yellow: {
          ...colors.yellow,
          100: "#FFFBD3",
          500: "#FFB600",
          DEFAULT: "#FFB600"
        },
        blue: {
          ...colors.blue,
          light: "#D6ECFF",
          DEFAULT: "#007BFF",
          dark: "#0060C7",
          100: "rgb(214, 236, 255)",
          500: "#0076fa"
        },
        primary: {
          ...colors.primary,
          light: "#D6ECFF",
          DEFAULT: "#1ABC9C",
          dark: "#148F77",
          50: "rgb(238, 252, 249)",
          100: "rgb(182, 234, 225)",
          500: "#3DC7AE"
        }
      }
    },
    fontFamily: {
      display: ["Montserrat"],
      body: ["Montserrat"]
    },
    borderWidth: {
      DEFAULT: "1px",
      0: "0",
      2: "2px",
      3: "3px",
      4: "4px",
      6: "6px",
      8: "8px"
    }
  },
  variants: {
    extend: {
      opacity: ["disabled"]
    }
  }
};

Customization

Starlord UI Library uses Tailwind CSS under the hood, which means that you can customize the appearance of the components by modifying the Tailwind CSS configuration in your project.

To customize the appearance of the components, you need to install Tailwind CSS and its dependencies.

Then add the css file to your project at index.tsx

Contributing

Contributions to Starlord UI Library are welcome and appreciated! If you find a bug or have a feature request, please open an issue on the GitHub repository.

License

Starlord UI Library is open source software under the MIT Licence