# @novem-ui/button

> Button component from novem-ui

Latest version **0.0.2-alpha.5** (published 2022-01-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install @novem-ui/button
pnpm add @novem-ui/button
yarn add @novem-ui/button
bun add @novem-ui/button
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2-alpha.5 |
| Published | 2022-01-18 |
| First published | 2022-01-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 12.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Leonel Vieyra |
| Maintainers | leonelv |

## Links

- npm: https://www.npmjs.com/package/@novem-ui/button
- Repository: https://github.com/jdrets/novem-ui
- Homepage: https://github.com/jdrets/novem-ui/tree/main/packages/button#readme
- Issues: https://github.com/jdrets/novem-ui/issues
- npm.io page: https://npm.io/package/@novem-ui/button

## Dependencies (2)

- [@novem-ui/base](https://npm.io/package/@novem-ui/base.md) ^0.0.2-alpha.5
- [@novem-ui/theme](https://npm.io/package/@novem-ui/theme.md) ^0.0.2-alpha.4

## Recent versions

- 0.0.2-alpha.5 (latest) — 2022-01-18
- 0.0.2-alpha.4 — 2022-01-18
- 0.0.2-alpha.3 — 2022-01-18
- 0.0.2-alpha.2 — 2022-01-18
- 0.0.2-alpha.1 — 2022-01-18
- 0.0.2-alpha.0 — 2022-01-18

## README

# @novem-ui/button

## Usage

### `<Button />`

The component has the following props, plus [SpacingProps](../base/src/spacing/README.md) and all the expected props from the native <button />:

- `baseColor` (Optional): It can be any color from the theme, uses `orange` by default.
- `size` (Optional): It can be `sm` or `lg`, uses `lg` by default.
- `hierarchy` (Optional): It can be `loud`, `quiet`, or `link`, uses `loud` by default.

```tsx
import { Button, ThemeProvider } from '@novem-ui/core'
// or
import { Button } from '@novem-ui/button'
import { ThemeProvider } from '@novem-ui/theme'

function App() {
  return (
    <ThemeProvider>
        <Button>
            Example button
        </Badge>
    </ThemeProvider>
  )
}
```

---
_Source: https://npm.io/package/@novem-ui/button · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
