1.1.3-pre-alpha • Published 12 months ago

@unix-ui/react v1.1.3-pre-alpha

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

BETA DOCUMENTS

(Will be replace with the website documentation) unix-ui focuses solely on theming, providing developers with complete customization freedom for components while maintaining core functionality.

Installation

npm i @unix-ui/react @emotion/react @emotion/styled moment

How to start

First import UnixThemeProvider from @unix-ui/react

import { UnixThemeProvider } from "@unix-ui/react";

// pass theme in provider
<UnixThemeProvider
  theme={{
    // don't forget to pass a default theme
    currentTheme: "light",
  }}
>
  <App />
</UnixThemeProvider>;

Available Components:

<Button /> <Checkbox /> <Datepickers /> <Drawer /> <Layouts /> <LoadingIcon /> <Popover /> <RippleBase /> <Transition /> <Select />

Theming

<UnixThemeProvider
  theme={{
    currentTheme: "light",
    theme: {
      // styles will be applied based on the theme
      light: {
        Button: {
          // override default styles
          overrideStyles: {
            // override style of a variant
            default: {
              button: {
                // decide weather to remove all the default styles from
                removeDefaultStyling: true,
                // pass the styles to override
                styles: { background: "red" },
              },
            },
          },
        },
      },
    },
  }}
>
  <App />
</UnixThemeProvider>
1.1.3-pre-alpha

12 months ago

1.1.2-pre-alpha

12 months ago

1.1.1-pre-alpha

12 months ago

1.1.0-pre-alpha

12 months ago

1.0.9-pre-alpha

12 months ago

1.0.8-pre-alpha

12 months ago

1.0.7-pre-alpha

12 months ago

1.0.6-pre-alpha

12 months ago

1.0.5-pre-alpha

12 months ago

1.0.4-pre-alpha

12 months ago

1.0.3-beta

12 months ago

1.0.2-beta

1 year ago

1.0.1-beta

1 year ago

1.0.0-beta

1 year ago