Skip to content

🧩 The component library for fast and accessible development of gorgeous interfaces.

License

Notifications You must be signed in to change notification settings

Brokerlit/windmill-react-ui

This branch is 4 commits behind cast-corp/windmill-react-ui:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5466ebb Β· Aug 12, 2022
Jul 14, 2020
May 13, 2021
Nov 8, 2020
Aug 10, 2022
Nov 8, 2020
Jun 23, 2020
Jul 13, 2020
May 13, 2021
Jul 14, 2020
Jul 22, 2022
May 17, 2021
Jun 23, 2020
Jun 23, 2020
Nov 8, 2020
Feb 23, 2022
Aug 12, 2022
Aug 12, 2022
Dec 2, 2020
Jul 22, 2022
Jul 22, 2022

Repository files navigation

Windmill React UI

The component library for fast and accessible development of gorgeous interfaces.

codecov Build npm MIT License

Projects using it: Windmill Dashboard React

Mission

Be the most accessible it can be out of the box and the fastest way to production.

Go to docs to see complete, live examples

πŸš€ Usage

Install

npm i @windmill/react-ui

Inside tailwind.config.js

const windmill = require('@windmill/react-ui/config')
module.exports = windmill({
  purge: [],
  theme: {
    extend: {},
  },
  variants: {},
  plugins: [],
})

Then place Windmill at the root of your project (the order doesn't matter, as long as your application is inside).

// index.js
import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
import { Windmill } from '@windmill/react-ui'

ReactDOM.render(
  <Windmill>
    <App />
  </Windmill>,
  document.getElementById('root')
)

Use components inside your project

import { Button } from '@windmill/react-ui'

function App() {
  return <Button>Hi there!</Button>
}

export default App

πŸ”Œ Contributing

  • Fork
  • Clone
  • npm install
  • npm run storybook

It will start a local server at localhost:6006 with all components rendered.

⚠ Use npm run cz instead of git commit! It will guide you through some short questions and guarantee that you commit message is standardized.

Commit will also trigger linting and test coverage.

About

🧩 The component library for fast and accessible development of gorgeous interfaces.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.1%
  • JavaScript 1.9%