1.2.8 • Published 2 years ago
@voidpkg/react-ui v1.2.8
Welcome to VoidUI ✨
Looking for the documentation?
Installing VoidUI
$ yarn add @voidpkg/react-ui
# or
$ npm install --save @voidpkg/react-ui
Getting set up
To start using the components, please follow these steps:
- Add the
content
option to yourtailwind.config.js
file:
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./node_modules/@voidpkg/react-ui/**/*.{js,jsx,ts,tsx}",
... // your other content
],
... // your other config
}
- Wrap your application in a
Provider
import { Provider } from "@voidpkg/react-ui"
const App = ({ children }) => (
<Provider>
{children}
</Provider>
)
- Now you can start using components like so!:
import { Button } from "@voidpkg/react-ui";
const Index = () => <Button>
✨ Hello, world!
</Button>
Components
Accordion
, Button
, CodeMockup
, ContextMenu
, Dropdown
, Highlight
, Hover
, HoverCard
, Modal
, Video
, Pointer
, Range
, Ripple
, Spinner
, Switch
, Tabs
, Tooltip
Hooks
useSWR
, useBrowser
, useToast
1.2.8
2 years ago
1.2.7
2 years ago
1.2.6
2 years ago
1.2.5
2 years ago
1.2.4
2 years ago
1.2.3
2 years ago
1.2.0
2 years ago
1.1.1
2 years ago
1.0.2
2 years ago
1.1.0
2 years ago
1.1.9
2 years ago
1.1.8
2 years ago
1.0.9
2 years ago
1.1.7
2 years ago
1.0.8
2 years ago
1.1.6
2 years ago
1.0.7
2 years ago
1.1.5
2 years ago
1.0.6
2 years ago
1.1.4
2 years ago
1.0.5
2 years ago
1.2.2
2 years ago
1.1.3
2 years ago
1.0.4
2 years ago
1.2.1
2 years ago
1.1.2
2 years ago
1.0.3
2 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.0.5-alpha.1
3 years ago
1.0.4-alpha.1
3 years ago
1.0.3-alpha.1
3 years ago
1.0.1-alpha.1
3 years ago
1.0.0-alpha.1
3 years ago