0.12.0 • Published 5 months ago

decentraland-ui2 v0.12.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

Decentraland UI v2

This is basically Material UI themed with Decentrland's look & feel + some of our own components

See: ui2.decentraland.org

Usage

Install it:

npm install --save decentraland-ui2

Import Decentraland UI v2's theme styles in your App's entry point

In your main ReactDOM renderer import Theme Provider and the theme you want to use

// ./src/index.ts
...
import { dark, ThemeProvider } from 'decentraland-ui2/dist/theme';
...

      <ThemeProvider theme={dark}>
        ...
      </ThemeProvider>
...

Now you can use Decentraland UI v2's components:

import React from "react"
import { Button } from "decentraland-ui2/lib/@mui"

export const CustomButton = (props) => {
  return <Button {...props}>Save</Button>
}

Development

Prerequisites: Node.js 16 React 17|18 (or compatible)

Install dependencies and start Storybook:

$ npm install
$ npm run generate:storybooks //This will regenerate @MUI components
$ npm run start
0.12.0

5 months ago

0.11.7

5 months ago

0.11.0

5 months ago

0.11.1

5 months ago

0.11.2

5 months ago

0.11.3

5 months ago

0.11.4

5 months ago

0.11.5

5 months ago

0.11.6

5 months ago

0.10.1

6 months ago

0.9.2

6 months ago

0.10.0

6 months ago

0.8.9

6 months ago

0.8.8

6 months ago

0.9.0

6 months ago

0.9.1

6 months ago

0.8.5

7 months ago

0.8.4

7 months ago

0.8.7

7 months ago

0.8.6

7 months ago

0.8.3

7 months ago

0.8.1

7 months ago

0.8.0

7 months ago

0.8.2

7 months ago

0.7.3

8 months ago

0.7.2

8 months ago

0.7.1

8 months ago

0.6.2

8 months ago

0.7.0

8 months ago

0.6.1

9 months ago

0.6.0

9 months ago

0.3.0

11 months ago

0.5.0

11 months ago

0.4.1

11 months ago

0.4.0

11 months ago

0.3.1

11 months ago

0.5.1

10 months ago

0.4.2

11 months ago

0.3.3

11 months ago

0.2.0

12 months ago

0.1.0

1 year ago

0.0.1

1 year ago

0.0.2

1 year ago