3.5.3 • Published 1 year ago

@uireact/view v3.5.3

Weekly downloads
-
License
GNU
Repository
-
Last release
1 year ago

@UiReact

UiReact icon

This is a React UI library, that defines a customizable theme object that powers all colorations, texts, sizes, etc.. Across your react application.

We are built using framer-motion for great animations and styled-components for easy CSS management.

You should visit our docs page for all information @uireact docs.

@uireact/view

The view component is what wraps your react tree and provide global styles and providers used across the multiple components from @UiReact library.

We have a page dedicated to this component @uireact/view docs.

How to use @UiReact library

There are 5 steps you need to get your project up and running using our library:

1. Get a React project working

Doc: https://react.dev/learn/start-a-new-react-project#nextjs-pages-router, Yes, we suggest you use Next JS.

2. Install our peer dependencies

npm i -S framer-motion styled-components

We suggest using framer motion v11 and upwards, and styled components version 6 and upwards.

3. Get styled components working on your project.

If you are using Next JS this is very simple. CSS-in-JS Next Js

If you are using Remix Styled-Components example

4. Install foundation and view component

npm i -S @uireact/foundation @uireact/view

If you want to read more about the view package you can visit its docs page @uireact/view.

5. Wrap your react tree in UiView component

You need to wrap your react tree in our UiView component like this:

import { ThemeColor, DefaultTheme } from '@uireact/foundation';
import { UiView } from '@uireact/view';

const App = ({ children }) => (
  <UiView theme={DefaultTheme} selectedTheme={ThemeColor.dark}>
    {children}
  </UiView>
);

And there you have it! You should be up and running now. There are multiple things you can customize to make this even better:

Create your theme

We have a tool dedicated to the creation of theme that you can customize the colorations. Create your theme

3.5.3

1 year ago

3.5.2

1 year ago

3.5.1

1 year ago

3.5.0

1 year ago

3.4.0

1 year ago

3.3.1

1 year ago

3.3.0

1 year ago

3.3.2

1 year ago

3.2.1

1 year ago

3.2.0

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.1.2

1 year ago

3.1.1

1 year ago

3.1.0

1 year ago

2.10.0

1 year ago

2.9.0

1 year ago

2.8.3

1 year ago

2.8.2

1 year ago

2.8.4

1 year ago

2.8.1

1 year ago

2.6.0

1 year ago

2.8.0

1 year ago

2.7.0

1 year ago

2.5.0

1 year ago

2.4.0

1 year ago

2.3.2

2 years ago

1.2.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.6.1

2 years ago

1.0.7

2 years ago

1.6.0

2 years ago

1.4.0

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

1.1.0

2 years ago

1.5.4

2 years ago

1.5.3

2 years ago

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

2.3.0

2 years ago

2.3.1

2 years ago

2.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

0.1.7-alpha.19

2 years ago

0.1.7-alpha.17

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago