> For the complete documentation index, see [llms.txt](https://neptune-css.gitbook.io/neptune-css-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://neptune-css.gitbook.io/neptune-css-docs/neptune-js/badges.md).

# Badges

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

```javascript
const myBadge = new Badge({
    // Configuration
});
```

### Configuration

| Configuration | Options                                               |
| ------------- | ----------------------------------------------------- |
| `parent`      | id or class of the parent element                     |
| `text`        | text                                                  |
| `size`        | s, m, l                                               |
| `style`       | primary, accent, information, success, warning, error |
