Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lmiller1990/cohesive-ui

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lmiller1990/cohesive-ui

A design system implemented using TypeScript and React, used throughout our products here at [DoseMe](https://doseme-rx.com).

  • 1.1.8
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Cohesive UI

A design system implemented using TypeScript and React, used throughout our products here at DoseMe.

View it live in Storybook here.

Usage

We have some peer dependencies:

yarn add @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/react-fontawesome moment react react-bootstrap react-dom

You can use the library like this:

// components
import { SmartList } from 'cohesive-ui'

// styles
import 'cohesive-ui/style/colors.scss'

You need to import the stylesheet too. global.css contains useful utilities, like d-flex and p-5, m-3, w-100 helpers (taken from Bootstrap 4).

// Global stylesheet
import 'cohesive-ui/style/global.css';

// Optionally, get our colors:
@import 'cohesive-ui/style/colors.scss';

Development

With Storybook

This repository has storybook set up and can be viewed using yarn storybook.

Alongside your project

The easiest way to work on this library alongside developing and inspecting the changes in your-project is to remove the cohesive-ui/ directory from your-project/node_modules after installing, and creating a symlink to the dist folder of your locally cloned cohesive-ui project (run yarn build if the dist folder does not exist).

To see changes made to cohesive-ui reflected in your-project in this way, you will need to run yarn build after every change to the UI (although is a major improvement from releasing minor versions just to be able to inspect changes). Developing new components with Storybook primarily is best practice, however.

FAQs

Package last updated on 05 May 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc