vlack
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

vlack

vlack is a black-based UI toolkit for React.

Figma data

Warning This library is still in an experimental stage. Destructive changes may be made without notice.

Installation

# with npm
npm i vlack @emotion/react

# with yarn
yarn add vlack @emotion/react

Getting started

To use vlack, please follow these steps.

Use the GlobalStyles component.

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

Now you can start using components.

import { Button } from 'vlack'

function Page() {
  return (
    <div>
      <Button>This is a "v"lack button</Button>
    </div>
  )
}

Package Sidebar

Install

npm i vlack

Weekly Downloads

0

Version

0.4.0

License

MIT

Unpacked Size

23 kB

Total Files

21

Last publish

Collaborators

  • xrxoxcxox