# dile-rounded-button

> Web component to implement a button

Latest version **1.2.1** (published 2019-10-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install dile-rounded-button
pnpm add dile-rounded-button
yarn add dile-rounded-button
bun add dile-rounded-button
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2019-10-08 |
| First published | 2019-07-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 10.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | @midesweb |
| Maintainers | midesweb |
| Keywords | button, lit-element, web, component, interface |

## Links

- npm: https://www.npmjs.com/package/dile-rounded-button
- Repository: https://github.com/Polydile/dile-rounded-button
- Homepage: https://github.com/Polydile/dile-rounded-button#readme
- Issues: https://github.com/Polydile/dile-rounded-button/issues
- npm.io page: https://npm.io/package/dile-rounded-button

## Dependencies (1)

- [lit-element](https://npm.io/package/lit-element.md) ^2.2.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.2.1 (latest) — 2019-10-08
- 1.2.0 — 2019-10-08
- 1.1.0 — 2019-08-06
- 1.0.0 — 2019-07-13

## README

# \<dile-rounded-button>

Web component to implement a styled button, with background color and rounded corners. Based on LitElement.

Go to [DEMOS page](https://dile-rounded-button.polydile.com)!

## Properties

- **disabled**: Boolean property to make the button disabled.

## Styles

You can customize it using CSS Custom Properties.

Custom property | Description | Default
----------------|-------------|---------
--dile-rounded-button-border-radius | Button border radius | 30px
--dile-rounded-button-background-color | Button background color | #e74c3c
--dile-rounded-button-height | Height of the button | 30px
--dile-rounded-button-text-color | Button text color | #fff
--dile-rounded-button-hover-background-color | Button hover background color | #303030
--dile-rounded-button-hover-text-color | Button hover text color | #fff
--dile-rounded-button-animation-time | Hover button color animation | 0.3s
--dile-rounded-button-padding-x | Horizontal padding | 20px
--dile-rounded-button-padding-y | Vertical padding | 5px
--dile-rounded-button-text-transform | Text transform | uppercase
--dile-rounded-button-font-size | Button text size | 1em
--dile-rounded-button-font-weight | Button font weight | normal

## Events

This component dispatch a custom event when the user clicks the button

- **dile-rounded-button-click**: there was a click in the button. If the button is in disabled state, the component do not dispatch the event.

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