Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 854 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 854 Bytes

@vtex-components/button

💡 Accessible Button component that enables users to trigger an action or event. It follows the WAI-ARIA Button Pattern.

NPM JavaScript Style Guide

Install

yarn add @vtex-components/button

Reakit and ThemeUI are peer dependencies, so you must add them with:

yarn add reakit theme-ui 

Usage

import React from 'react'
import Button from '@vtex-components/button'

function Example() {
  return <Button>Button Label</Button>
}

License

MIT © vtex