estevanmaito/windmill-react-ui
关于
🧩 用于快速开发精美且易于访问的界面的组件库。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Windmill React UI
The component library for fast and accessible development of gorgeous interfaces.
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 installnpm 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.
探索相关项目
加载中…