0.0.1-beta.3.34 • Published 3 months ago

@twizzle-library/twizzle-library v0.0.1-beta.3.34

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

About

Twizzle is an open source React UI framework available to build web projects

GitHub GitHub contributors npm version example workflow

Documentation

Documentation

Installation

Twizzle has numerous components that can all be installed using the following commands

  npm install @twizzle-library/twizzle-library
  or
  yarn add npm i @twizzle-library/twizzle-library

To install a local repo verison of the project you can always clone the repo:

Local Installation

  git clone https://github.com/ahmedwab/Twizzle

Install dependencies

  npm install
  or
  yarn

Theming

Twizzle UI is available with a theme context with a preset list of colors as follows:

  
  primary: {
    backgroundColor: '#1E90FF',
    color: 'black'
  },
  loader: {
    color: '#1E90FF'
  },
  variants: {
    success: { color: '#339900' },
    info: { color: '#99CC33' },
    warning: { color: '#FFCC00' },
    danger: { color: '#CC3300' }
  }

}

To set your own colors, you can invoke the theme context in the index.js/tsx or App.js/tsx of your project.

Usage

An example of how you would use a Twizzle component would be as follows:

  import {Button} from '@twizzle-library/twizzle-library';

  const component = () => {
    return (
      <Button label="Hello World"/>
    )
  }
'

Contributing

1. Fork the project

If you want to make a contribution to this repo, you will need to fork this repo and creare your own local version.

2. Get the project up running

Once you have the project installed on your device, you can go ahead and install dependencies

npm install
or
yarn add

After that, you will want to get storybook up and running

npm run storybook
or 
yarn storybook

Now you can visit http://localhost:6006 and find storybook running

3. Make your change

After you're finish with making your change, push everything to your forked repo.

On that note, make sure all the tests are passing.

npm run test
or
yarn test

You can then make a pull request with a description that explains your changes against the Twizzle master branch and wait for a review.

Good Luck!

License GitHub

Twizzle UI is available under the MIT License.

0.0.1-beta.3.34

3 months ago

0.0.1-beta.3.33

3 months ago

0.0.1-beta.3.32

10 months ago

0.0.1-beta.3.31

1 year ago

0.0.1-beta.3.30

1 year ago

0.0.1-beta.3.28

1 year ago

0.0.1-beta.3.27

1 year ago

0.0.1-beta.3.26

1 year ago

0.0.1-beta.3.29

1 year ago

0.0.1-beta.3.24

2 years ago

0.0.1-beta.3.23

2 years ago

0.0.1-beta.3.25

1 year ago

0.0.1-beta.3.22

2 years ago

0.0.1-beta.3.21

2 years ago

0.0.1-beta.3.9

2 years ago

0.0.1-beta.3.3

2 years ago

0.0.1-beta.3.4

2 years ago

0.0.1-beta.3.2

2 years ago

0.0.1-beta.3.20

2 years ago

0.0.1-beta.3.7

2 years ago

0.0.1-beta.3.8

2 years ago

0.0.1-beta.3.5

2 years ago

0.0.1-beta.3.6

2 years ago

0.0.1-beta.3.13

2 years ago

0.0.1-beta.3.12

2 years ago

0.0.1-beta.3.11

2 years ago

0.0.1-beta.3.10

2 years ago

0.0.1-beta.3.17

2 years ago

0.0.1-beta.3.16

2 years ago

0.0.1-beta.3.14

2 years ago

0.0.1-beta.3.19

2 years ago

0.0.1-beta.3.18

2 years ago

0.0.1-beta.3.1

2 years ago

0.0.1-beta.3.0

2 years ago

0.0.1-beta.3

2 years ago

0.0.1-beta.2

2 years ago

0.0.1-beta.1

2 years ago

0.0.1-beta.0

2 years ago

0.2.6

2 years ago

0.1.0

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago