Read page as text

NIB / PLAYGROUND

Button playground — NibComponents

Try button in Flutter. A real action, a visible result, and the right busy state.

Open interactive view

A real action, a visible result, and the right busy state.

Read the full component guide and API

Public widgets and APIs

  • NibButton
  • NibButtonSize
  • NibButtonSizeMetrics
  • NibButtonVariant

Example Dart code

NibButton(label: 'Save changes', onPressed: () { /* Save local state. */ })

Playground controls

ControlTypeOptions or rangeHelp
Animate feedbacktoggle
Disabledtoggle
Labeltext
Variantchoiceprimary, secondary, outline, ghost, destructive
Sizechoicesm, md, lg
Loadingtoggle
Pill shapetoggle
Fill available widthtoggle