@vtex/store-ui
v0.373.50
Published
A lightweight, framework agnostic component library for React
Downloads
378
Maintainers
Keywords
Readme
@vtex/store-ui
Next store component library
Installation
From the command line in your project directory, run npm install @vtex/store-ui
or yarn add @vtex/store-ui
.
npm install @vtex/store-ui
# or
yarn add @vtex/store-ui
For style, you can use our default theme. To install:
npm install @vtex/theme-b2c-tailwind
# or
yarn add @vtex/theme-b2c-tailwind
Usage
import { Button } from '@vtex/store-ui'
import '@vtex/theme-b2c-tailwind/dist/index.css'
import React, { Component } from 'react'
import MyComponent from '@vtex/store-ui'
class Example extends Component {
render() {
return <MyComponent />
}
}
License
MIT © emersonlaurentino