# Buttons

```javascript
import { Button } from "path/to/package/neptune.min.js"
```

```javascript
const myButton = new Button({
    // Configuration
});
```

### Configuration

| Configuration  | Options                                                       |
| -------------- | ------------------------------------------------------------- |
| `parent`       | id or class of the parent element                             |
| `text`         | text                                                          |
| `icon`         | icon tag                                                      |
| `iconPosition` | left or right                                                 |
| `size`         | s, m, l                                                       |
| `style`        | primary, secondary, cta, information, success, warning, error |
