Note

Display text that requires attention or provides additional information.

General

Show a piece of text or components.

Types

You can apply a types differents with the type prop.

Hidden Label

Note component with a show/hide label.

Custom Label

You can change custom label of the Note with the property label.

Filled Variant

You can change the filled variant of the Note with the property filled.

APIs

Note.Props

AttributeDescriptionTypeAccepted valuesDefault
typenote typeNoteTypesNoteTypesdefault
labelshow label or custom textboolean / string--
filledfilled variant: fill colorboolean-false
lightlight variant: tinted backgroundboolean-false
subtlesubtle variant: no borderboolean-false
...native propsHTMLAttributes'id', 'className', ...-

NoteTypes

type NoteTypes =
  | 'default'
  | 'primary'
  | 'secondary'
  | 'success'
  | 'warning'
  | 'error'
  | 'info'
Edit this page on GitHub