NIB / PLAYGROUND
Button playground — NibComponents
Try button in Flutter. A real action, a visible result, and the right busy state.
Open interactive viewA 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
| Control | Type | Options or range | Help |
|---|---|---|---|
| Animate feedback | toggle | ||
| Disabled | toggle | ||
| Label | text | ||
| Variant | choice | primary, secondary, outline, ghost, destructive | |
| Size | choice | sm, md, lg | |
| Loading | toggle | ||
| Pill shape | toggle | ||
| Fill available width | toggle |