0.4.0 • Published 1 year ago

vlack v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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>
  )
}
0.3.0

1 year ago

0.3.2

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.2.0

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago