Socket
Socket
Sign inDemoInstall

@nulib/design-system

Package Overview
Dependencies
46
Maintainers
5
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nulib/design-system

[https://nulib.github.io/design-system/](https://nulib.github.io/design-system/)


Version published
Weekly downloads
128
decreased by-23.81%
Maintainers
5
Created
Weekly downloads
 

Readme

Source

Design System for Northwestern University Libraries

https://nulib.github.io/design-system/

A global design system for NUL ReactJS UI components, intended for all front end applications, NPM modules, and user interfaces.

Built using:

Usage

Install the package

npm install @nulib/design-system

Import individual components

import { Button, Section, Tag } from "@nulib/design-system"

...

<Button
  isPrimary
  onClick={() => console.log("Ive been clicked")}
>
  Click Me
</Button>

Development

// Clone the repo
git clone git@github.com:nulib/design-system.git

// Install dependencies
npm install

// Run the local dev environment
npm run dev

Open http://localhost:3000 with your browser to see the result.

Packaging

Build for NPM

npm run build

Build static reference site for Github Docs

npm run build:static

Per NextJS convention, this will output to the /out directory. To view a local static build via a quick local server, run:

npm run build:static
npx serve out

CI

A static version of the site is automated and pushed to the gh-pages branch via Github Actions commits to the main branch. View the static site at: https://nulib.github.io/design-system/

FAQs

Last updated on 09 Feb 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc