Skip to content

nb-button

Name Type Default Notes
variant 'primary' | 'accent' 'primary' Reflected to the attribute
disabled boolean false Reflected to the attribute
const button = document.querySelector('nb-button')
button.disabled = true
button.variant = 'accent'