Skip to content

zeroput/zachary-ui

Repository files navigation

How to use it

in your react frontend project

npm i zachary-ui

Use the component in your project

import './App.css'
import { Button } from 'zachary-ui'
function App() {

  const clickMe = () => {
    alert('clicked')
  }

  return (
    <>
      <Button
        title='zachary ui button'
        variant="contained" 
        onClick={clickMe}      
        ></Button>
    </>
  )
}

export default App

How to develop locallly

# fork the repo 
git clone https://github.com/zeroput/zachary-ui.git
cd zachary-ui
# run in your dev env
npm install
npm run storybook

visit http://localhost:6006/

You can also find my package on npm, https://www.npmjs.com/package/zachary-ui.

Enjoy it

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published