All Projects β†’ blockchain β†’ components

blockchain / components

Licence: AGPL-3.0 license
Components library for the Blockchain.com ecosystem πŸ’ πŸ”₯

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to components

claxed
Classes with the same style of Styled-Components
Stars: ✭ 17 (-15%)
Mutual labels:  components, styled-components
React95
πŸŒˆπŸ•Ή Refreshed Windows 95 style UI components for your React app
Stars: ✭ 4,877 (+24285%)
Mutual labels:  components, styled-components
styled-mixin
Simple wrapper for creating styled-components mixins
Stars: ✭ 17 (-15%)
Mutual labels:  components, styled-components
Styled Icons
πŸ’… Popular icon packs like Font Awesome, Material Design, and Octicons, available as React Styled Components
Stars: ✭ 1,878 (+9290%)
Mutual labels:  styled-components, font-awesome
Horror
😱 React HTML elements with CSS-in-JS
Stars: ✭ 78 (+290%)
Mutual labels:  components, styled-components
lab-cli
Command line utilities and exporting module for Compositor Lab
Stars: ✭ 52 (+160%)
Mutual labels:  components, styled-components
Handycontrols
Contains some simple and commonly used WPF controls based on HandyControl
Stars: ✭ 347 (+1635%)
Mutual labels:  components, styled-components
tsstyled
A small, fast, and simple CSS-in-JS solution for React.
Stars: ✭ 52 (+160%)
Mutual labels:  components, styled-components
React Fontawesome
A React Font Awesome component.
Stars: ✭ 662 (+3210%)
Mutual labels:  components, font-awesome
Design System
Priceline.com Design System
Stars: ✭ 604 (+2920%)
Mutual labels:  components, styled-components
Reactackle
Open-source components library built with React and Styled-Components.
Stars: ✭ 278 (+1290%)
Mutual labels:  components, styled-components
Leaf Ui
πŸƒ Leaf-UI: A react component library built using styled-components
Stars: ✭ 98 (+390%)
Mutual labels:  components, styled-components
Macro Components
Create flexible layout and composite UI components without the need to define arbitrary custom props
Stars: ✭ 485 (+2325%)
Mutual labels:  components, styled-components
Ui
React Styled Components with bootstrap grid system
Stars: ✭ 89 (+345%)
Mutual labels:  components, styled-components
Re Jok
A React UI Component library built with styled-components
Stars: ✭ 102 (+410%)
Mutual labels:  components, styled-components
react-library-starter
A library starter kit and bundler for your React projects, powered by Rollup. ⚑
Stars: ✭ 22 (+10%)
Mutual labels:  styled-components
Frontend
λ§ˆμŒμ„ μž‡λŠ” ν˜„λͺ…ν•œ μ†ŒλΉ„ 'μž‡λ‹€'🀝
Stars: ✭ 19 (-5%)
Mutual labels:  styled-components
svelte-multistep-form
Svelte MultiStep Form like, this component is still in beta stage
Stars: ✭ 29 (+45%)
Mutual labels:  styled-components
proffy
React Native + ReactJS + NodeJS project developed on RocketSeat NexLevelWeek. This project is based on an application for connect students and teachers.
Stars: ✭ 30 (+50%)
Mutual labels:  styled-components
okeedesign-mobile-vue
High Performance, Flexiable Configuration, Various Components
Stars: ✭ 139 (+595%)
Mutual labels:  components

THIS UI LIBRARY IS DEPRICATED, PLEASE USE CONSTELLATION!

Coverage Status Flow Coverage CircleCI

js-standard-style Code Style: prettier Conventional Commits

Description

The library Components is based on React and styled-components. It contains basic components, "atoms", and more complex "molecules" that are used on the Blockchain.com ecosystem.

Installation

Just a quick npm i @blockchain-com/components and you are good to go!

Tips

Icons usage

1. FontAwesome icons (free version)

Use <Fas... />

  • Fas is the type ("Fab", "Far" and "Fas" are avaible)

    • Fab matches the brand iconset
    • Fas matches the solid iconset
    • Far matches the regular iconset
  • ... is the FontAwesome icon name formatted as PascalCase.

The full icon list is available here

Examples:

<FasCheckCircle />
<FarCheckCircle />
<FabFacebook />

cryptos

2. Crypto icons

Use <Crypto.../>

The list of crypto icons is available here

Examples:

<CryptoBtc />
<CryptoXlm />

cryptos

3. Custom (bc) icons

Use <Bc... />

The list of custom icons is available here

Examples:

<BcBlocks />
<BcTransactions />

cryptos

Development

Tooling

Both yarn and npm are supported.

The commands are given using npm however you can use the yarn equivalent and it will Just Workβ„’

Link

If you want to change the library and reflect your changes on your consumer app without having to push to the repo and release, just:

  1. git clone [email protected]:blockchain/components.git
  2. cd path-to/components
  3. npm link
  4. cd path-to/my-app
  5. npm link @blockchain-com/components

⚑ you need to run npm link @blockchain-com/components everytime you run npm i or yarn...

Storybook

  1. Ensure Node version >= 8.0 is installed
  2. Install packages: npm i
  3. Start application in dev mode: npm run start
  4. The library will now be accessible at localhost:6006

Architecture

This library follows the Atomic Design principles.

An additional attention has be taken to ensure that all components are available and fully functional accross major web browsers*, as well as responsive on any screen sizes.

Browsers with > 1% usage:

  • IE 11
  • Safari 11+
  • Chrome / Edge / Firefox latest 2 major versions

Code Quality

1. Linting

The coding style rules are defined by Prettier and enforced by Eslint

The good practicesβ„’ that we follow are defined by the Javascript Standard Style

Following commands are available:

  • npm run lint:js
    • Lints JS code
  • npm run lint:css
    • Lints styled components

2. Unit Tests

Testing is done using Jest and Enzyme.

Following commands is available:

  • npm test
    • Run the unit tests

3. Git Hooks

We use Husky to automatically deploy git hooks

On every git commit and git push we run the unit tests and the linting tasks.

The commit messages are also validated and must follow the Conventional Commits spec.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].