vlack is a black-based UI toolkit for React.
Warning This library is still in an experimental stage. Destructive changes may be made without notice.
# with npm
npm i vlack @emotion/react
# with yarn
yarn add vlack @emotion/react
To use vlack, please follow these steps.
GlobalStyles
provides style resets and basic styles.
The following example assumes Next.js.
import type { AppProps } from 'next/app'
import { GlobalStyles } from 'vlack'
function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<GlobalStyles />
<Component {...pageProps} />
</>
)
}
export default MyApp
import { Button } from 'vlack'
function Page() {
return (
<div>
<Button>This is a "v"lack button</Button>
</div>
)
}