Buttons

import { Button } from "path/to/package/neptune.min.js"
const myButton = new Button({
    // Configuration
});

Configuration

ConfigurationOptions

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

Last updated