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

@unumux/components

v1.1.0

Published

component library

Downloads

12

Readme


title: Component Library collection:

  • index
  • home permalink: false

NAME

The NAME UI Component Library provides plug-and-play design and code to help you set a new bar for simplicity and consistency across your sites.

The Library consists of semantic and accessible markup for a variety of components that can be paired with a theme to quickly give components a consistent look.


Getting Started

For Developers

For Designers

The Components

The Themes


For Developers

NAME components are built on a semantic and accessible markup foundation, to work with all modern browsers (IE 10, Chrome, Firefox, Safari).

Installation

Here are a few ways to use the NAME in your projects.

Download

...

Install with NPM

If you have node installed on your machine, you can use npm to install NAME.

...

Need Installation Help

Do you have questions or need help with setup? Did you run into any weird errors while following these instructions? Feel free to open an issue here:

https://github.com/unumux/components/issues

CSS Architecture

So you need to make a new component

Customization/Themeing

Recommended Project CSS/SCSS Directory Structure

We recommend that for your project component styling, you use a directory pattern similiar to that of the NAME Library. With a couple of changes to house code that overrides theme and/or component styling

.
├── /styles
├──── /components
├──────── _index.scss (Imports _index.scss from each component folder))
├──────── /my-new-component
|           _index.scss (Imports my-new-component partials)
|           _my-new-component.scss (Base styles for new component block)
|           _sub-element-1.scss (Styles for a specific sub-element of the new component block)
|           _sub-element-2.scss (Styles for a specific sub-element of the new component block)
├──────── /primary-nav
|           _index.scss (Imports primary-nav partials)
|           _list.scss (Styles for the list sub-element of the primary nav block)
|           _primary-nav.scss (Base styles for primary nav block)
├──── /theme-overrides
|       _color-variables.scss (Used to override color variables from Theme)
|       _font-variables.scss (Used to override font variable from Theme)
|       _index.scss (Imports theme-override partials)
|       _sizing-variables.scss (Used to override padding, margin, border, etc. variables from Theme)
├── _site.scss (Imports _index.scss files from components and theme-overrides folders (plus any additional folders you have))

Main Variables That Can Be Overridden

Where Things Live

  • HTML
  • SCSS / Compiled CSS
  • Fonts
  • Images

Including in a Project

If you downloaded the source code you can include the CSS file in your project and reference it in your index.html file.

If you installed via NPM and are using SCSS you can include NAME and a theme in your project's primary SCSS file like so:

// Standard way to include a theme and *NAME* in a project
// _site.scss or _index.scss
@import "theme-themeName"
@import "*NAME* Component Library"
// Include a theme, *Name*, and override files in a project
// _site.scss or _index.scss
@import "theme-themeName"
@import Theme Variable Override Files
@import "*NAME* Component Library"
@import Component Override Files

FAQs

  • I need a component that is not in the library
  • I installed the library and added a component to my HTML but it doesn't look right
  • How do I change some of the default styles of a component

For Designers


Components


Available Themes


Contributing

Found an issue of have an idea for enhancement? Open an issue.

Want to add code? Contribute