Skip to Content
NSUI

Button

Button with variants, sizes and a loading state.

Use a button for actions in forms, toolbars and dialogs.

SaveCancelExportMoreDelete

Sizes

SmallMediumLarge

States

SavingDisabled

In a form

type="submit" submits the closest <form>, including in a Suitelet form.

HTML
<form method="post">
  <nsui-input name="memo" label="Memo"></nsui-input>
  <nsui-button type="submit" variant="primary">Submit</nsui-button>
</form>

API

Attributes

Prop

Type

Slots

Prop

Type

CSS parts

Prop

Type

NSUI is a community project. It is not an official Oracle NetSuite product. NetSuite is a trademark of Oracle.

On this page