0.6.0 • Published 6 months ago

@sinskiy/ui v0.6.0

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

@sinskiy/ui

preview

a simple UI library that I use for my projects, powered by React, Sass and postcss-material-colors

!CAUTION This library is unoptimized for external usage. I add features as I need them and this library is not particularly user-friendly, accessible and optimized. Morover, one of the main reasons I created this library was to practice Sass and Storybook.

usage

  1. npm install -D postcss-material-colors

  2. follow postcss-material-colors documentation to add the theme

  3. npm install @sinskiy/ui

  4. use components. example:

import { InputField } from "@sinskiy/ui";

export default function App() {
  return (
    <>
      <InputField id="input" type="text" error={undefined} required />
      <button className="button">button</button>
    </>
  );
}

CSS classes are in src/components.css, components are in the preview

additional

  • if you haven't imported anything from ui library yet, add import {} from "@sinskiy/ui" anywhere to apply styles
  • to guaranteed overwrite styles from @sinskiy/ui, write your overwrite in a custom CSS layer
0.5.0

6 months ago

0.5.2

6 months ago

0.6.0

6 months ago

0.5.1

6 months ago

0.4.9

10 months ago

0.4.8

10 months ago

0.4.10

10 months ago

0.3.0

10 months ago

0.2.0

11 months ago

0.1.1

1 year ago

0.4.5

10 months ago

0.4.4

10 months ago

0.4.7

10 months ago

0.4.6

10 months ago

0.4.1

10 months ago

0.3.2

10 months ago

0.4.0

10 months ago

0.3.1

10 months ago

0.4.3

10 months ago

0.3.4

10 months ago

0.4.2

10 months ago

0.3.3

10 months ago

0.1.0

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago