0.3.3 • Published 1 year ago

sharyui v0.3.3

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

SharyUI

Customised UI library for myshary.com

SharyUI was built to speed up implementation flow of Shary's developers and to help them improve design consistency by having a centralised design center for all of their UI components.

Installation

SharyUI is available as an npm package.

Requirements:

All of the components in SharyUI are designed with the latest version of Tailwind CSS, which is currently version 3.2. That means that Tailwind needs to be installed in your project in order for our components works. This can be done by running:

npm install tailwindcss@latest
# or
yarn add tailwindcss@latest

npm:

npm install sharyui

yarn:

yarn add sharyui

Next, make sure to import the library stylesheet from node_modules/sharyui/dist/styles.css in your main.js file or in your root component. This is due to an issue with tailwind not compiling the classes when used with storybook at the moment.

Getting started with SharyUI

Here is an example of a basic app using SharyUI's Button component:

import { Button } from 'sharyui';

function App() {
  return <Button variant="secondary">Hello World</Button>;
}

Documentation

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago