All Projects → appnexus → Lucid

appnexus / Lucid

Licence: other
A UI component library from AppNexus.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Lucid

Redux React Starter
DEPRECATED use the new https://github.com/didierfranc/react-webpack-4
Stars: ✭ 137 (-19.88%)
Mutual labels:  components, jsx
Crank
Write JSX-driven components with functions, promises and generators.
Stars: ✭ 2,487 (+1354.39%)
Mutual labels:  components, jsx
React Scanner
Extract React components and props usage from code.
Stars: ✭ 176 (+2.92%)
Mutual labels:  components, jsx
Bloomer
A set of React components for Bulma CSS Framework
Stars: ✭ 683 (+299.42%)
Mutual labels:  components, jsx
Kit
Tools for developing, documenting, and testing React component libraries
Stars: ✭ 1,201 (+602.34%)
Mutual labels:  components, jsx
Preact
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
Stars: ✭ 30,527 (+17752.05%)
Mutual labels:  components, jsx
hsx
Static HTML sites with JSX and webpack (no React).
Stars: ✭ 15 (-91.23%)
Mutual labels:  components, jsx
React Workshop
⚒ 🚧 This is a workshop for learning how to build React Applications
Stars: ✭ 114 (-33.33%)
Mutual labels:  components, jsx
X0
Document & develop React components without breaking a sweat
Stars: ✭ 1,706 (+897.66%)
Mutual labels:  components, jsx
Amexio.github.io
Amexio is a rich set of Angular 7 (170+) components powered by HTML5 & CSS3 for Responsive Design and with 80+ Material Design Themes, UI Components, Charts, Gauges, Data Point Widgets, Dashboards. Amexio is completely Open Sourced and Free. It's based on Apache 2 License. You can use it in your production grade work today at no cost or no obligation.
Stars: ✭ 163 (-4.68%)
Mutual labels:  components
Ng Aquila
Angular UI Component library for the Open Insurance Platform
Stars: ✭ 170 (-0.58%)
Mutual labels:  components
Flama
🔥 Fire up your API with this flamethrower
Stars: ✭ 161 (-5.85%)
Mutual labels:  components
Qui
A Vue.js design-system for Web.
Stars: ✭ 165 (-3.51%)
Mutual labels:  components
Compile Hero
🔰Visual Studio Code Extension For Compiling Language
Stars: ✭ 169 (-1.17%)
Mutual labels:  jsx
Ngx Currency
📦 Currency mask module for Angular
Stars: ✭ 161 (-5.85%)
Mutual labels:  components
Babel Plugin React Html Attrs
Babel plugin which transforms HTML and SVG attributes on JSX host elements into React-compatible attributes
Stars: ✭ 170 (-0.58%)
Mutual labels:  jsx
15 Puzzle
The 15-puzzle is a sliding puzzle that consists of a frame of numbered square tiles in random order with one tile missing, built in react
Stars: ✭ 161 (-5.85%)
Mutual labels:  jsx
Pop
Monorepo of the PoP project, including: a server-side component model in PHP, a GraphQL server, a GraphQL API plugin for WordPress, and a website builder
Stars: ✭ 160 (-6.43%)
Mutual labels:  components
Wax
An experimental, JSX-compatible renderer for the Web Audio API
Stars: ✭ 171 (+0%)
Mutual labels:  jsx
Snap Shot
Jest-like snapshot feature for the rest of us, works magically by finding the right caller function
Stars: ✭ 170 (-0.58%)
Mutual labels:  jsx

Lucid codecov

A UI component library from AppNexus.

Install

Lucid can be installed with npm

npm install --save lucid-ui

or yarn

yarn add lucid-ui

Usage

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

ReactDOM.render(
  <Button>Hello World</Button>,
  mountNode
);

Lucid uses less for its stylesheets. If you use less, you can include the styles like so:

@import "node_modules/lucid-ui/src/index.less";

If you don't use less, you can use the precompiled css file node_modules/lucid-ui/dist/lucid.css.

Custom CSS Scope

There are some very rare situations where you might need to customize the prefix for all the css class names emitted by the library and less. If you find yourself in that unenviable position, you can do the following:

In your webpack config use the DefinePlugin to specify LUCID_CSS_NAMESPACE like so:

new webpack.DefinePlugin({
  LUCID_CSS_NAMESPACE: "'something-custom'",
});

When you render the less, make sure to set the prefix variable to the same thing you set in in your webpack config. E.g.

lessc node_modules/lucid-ui/src/index.less --modify-var='prefix=something-custom'

Dependencies

lucid-ui has several React peer dependencies. This means your application is responsible for declaring dependencies on compatible versions. Currently we support React 15 and 16.

Example package.json:

{
  "dependencies": {
    "lucid-ui": "^5.0.0",
    "react": "^16.0.0",
    "react-dom": "^16.0.0",
  }
}

To contribute to lucid, please see CONTRIBUTING.md.

Credits

  • BrowserStack for providing cross-browser testing infrastructure.
  • Travis CI for providing continuous integration infrastructure.
  • CodeCov for providing code coverage analysis infrastructure.
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].