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

evergreen-ui

Package Overview
Dependencies
Maintainers
3
Versions
267
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evergreen-ui

šŸŒ² React UI Kit by Segment šŸŒ²

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.1K
decreased by-23.17%
Maintainers
3
Weekly downloads
Ā 
Created
Source

šŸŒ² Evergreen Build Status

React UI Kit by Segment

Core values of šŸŒ² Evergreen

Evergreen is built on the belief that you can never predict all future requirements, only prepare for it. Instead of creating fixed configurations that work today, Evergreen promotes building systems that anticipate new and changing design requirements.

Evergreen is built on the belief that things should work out of the box with smart defaults, but also offer full control when needed. For example, Evergreen uses CSS-in-JS and builds on top of the Box component in ui-box.

Evergreen is built on the belief that using Evergreen and contributing to Evergreen should be a pleasant experience. We prioritize documentation and all the tools for a solid developer experience. We advocate respect and inclusivity in our writings and interactions.

Install and use components šŸ”“

šŸŒ² Evergreen is made up of multiple components and tools which you can import one by one. All you need to do is install the evergreen-ui package:

$ yarn add evergreen-ui
# or
$ npm install --save evergreen-ui

A working version, assuming you are using something like Create React App, might look like this:

import React from 'react'
import ReactDOM from 'react-dom'
import { Button } from 'evergreen-ui'

ReactDOM.render(
  <Button>I am using šŸŒ² Evergreen!</Button>,
  document.getElementById('root')
)

Contributing to Evergreen šŸ‘€

Step 1. Configuring your editor āš™

If you are using Atom, make sure to install the prettier-atom, linter and linter-xo packages.

All the configuration for prettier and xo is in the package.json. You shouldn't have to configure things separately, please file a issue if there's a problem.

Step 2. Get storybook up and running šŸ“–

To actually start seeing the components you have to run React Storybook:

$ yarn dev

Step 3. Learn more in the Contributing guide šŸŽ“

Please take a look at the contributing guide and roadmap to better understand what to work on.

Scripts explained šŸ¤“

Inside the package.json there are a bunch of scripts that this repo uses to run the project in development and to build the project.

Below you can read a description of each script.

yarn dev

Starts the development React Storybook.

yarn test

Lints the JavaScript files using XO and then runs the unit tests using AVA.

yarn build

Builds all of the JavaScript files using Babel.

yarn clean

Removes all untracked files (git clean -Xdf).

yarn release

Releases new version of Evergreen, using np to prepare it and CircleCI to publish it.

yarn create-package

This command scaffolds a package with no specific boilerplate. It's useful for creating utilities.

For the following command:

yarn create-package utils

The following file tree will be generated:

/src/utils
ā”œā”€ā”€ /src/
ā””ā”€ā”€ index.js

yarn create-package:components

This command scaffolds a package with React component(s) boilerplate. You can pass one or more components to this command.

For the following command:

yarn create-package:components typography Text Heading

The following file tree will be generated:

/src/typography
ā”œā”€ā”€ /src/
|   ā”‚ā”€ā”€ Text.js
|   ā””ā”€ā”€ Heading.js
ā”œā”€ā”€ /stories/
ā”‚   ā””ā”€ā”€ index.stories.js
ā””ā”€ā”€ index.js

Contributors šŸŽ‰

We will add you to the list if you make any contribution!

  • Jeroen Ransijn
  • Roland Warmerdam

This project is maintained by Segment

Please take a look at the contributing guide and roadmap to better understand what to work on.

Respect earns Respect šŸ‘

Please respect our Code of Conduct, in short:

  • Using welcoming and inclusive language
  • Being respectful of differing viewpoints and experiences
  • Gracefully accepting constructive criticism
  • Focusing on what is best for the community
  • Showing empathy towards other community members

License

Evergreen is released under the MIT license.

Copyright Ā© 2017 Segment.io, Inc.

Keywords

FAQs

Package last updated on 08 Feb 2018

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