1.2.8 • Published 3 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-uiGetting set up
To start using the components, please follow these steps:
- Add the
contentoption to yourtailwind.config.jsfile:
/** @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
3 years ago
1.2.7
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.0
3 years ago
1.1.1
3 years ago
1.0.2
3 years ago
1.1.0
3 years ago
1.1.9
3 years ago
1.1.8
3 years ago
1.0.9
3 years ago
1.1.7
3 years ago
1.0.8
3 years ago
1.1.6
3 years ago
1.0.7
3 years ago
1.1.5
3 years ago
1.0.6
3 years ago
1.1.4
3 years ago
1.0.5
3 years ago
1.2.2
3 years ago
1.1.3
3 years ago
1.0.4
3 years ago
1.2.1
3 years ago
1.1.2
3 years ago
1.0.3
3 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