Skip to Content
NSUI

Badge

Status label with a tinted background in its tone colour.

Use a badge to show a short status, such as the status of a transaction.

DraftPending ApprovalApprovedOn HoldRejectedNew

Tones

neutral is the default: dark text on a grey tint. info, success, warning and danger use a soft tint with text in the tone colour. accent uses the accent colour on its soft tint. Every tone has square corners and no dot, and its text passes 4.5:1 contrast.

Use neutral for ordinary states such as Draft. Keep colour for a state that needs attention.

In the data grid

A data grid column with type: 'badge' shows the same label. tones maps each value to a tone. See Data grid.

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