widgets/buttons/buttons library
Exports for the buttons layer.
Classes
-
ButtonGroup<
T> - A connected, unified group of action buttons with seamless borders and active state highlights.
- FloatingButton
- A floating action button wrapper with design-system styling.
- GlassButton
- A glassmorphic frosted glass button with specular border highlight and backdrop blur.
- GradientBorderButton
- A sleek button with an animated or multi-stop gradient border and inner glow.
-
GroupItem<
T> - An individual item in a ButtonGroup.
- HoldButton
- A button that requires the user to press and hold for a duration before triggering.
- IconButton
- A themed icon button with optional tooltip.
- LoadingButton
- A button that shows a loading spinner while loading is true.
- MeasureSize
- Helper to measure a widget's rendered size.
- MorphButton
- A button that morphs from a text label → spinning loader → ✓ / ✗ symbol.
- NeonButton
- A neon glow button with animated pulse and color bleed effect.
- OutlineButton
- An outlined button.
- PrimaryButton
- A primary call-to-action button with a brand gradient fill.
- SecondaryButton
- A secondary (tonal) button using the theme's secondary container.
- SlideButton
- An interactive slide-to-confirm / slide-to-act button.
- SocialButton
- A ready-to-use social authentication button styled according to brand guidelines.
- SpeedDial
- An animated, expandable FAB (Speed Dial / FabMenu).
- SpeedDialItem
- A single action in a SpeedDial.
- SplitAction
- An item inside a SplitButton dropdown menu.
- SplitButton
- A split action button with a primary button on the left and a dropdown menu arrow on the right.
- TextButton
- A text-only button.
Enums
- ButtonVariant
- Visual variants supported by LoadingButton.
- MorphButtonState
- The current state of a MorphButton.
- SocialProvider
- Supported third-party authentication providers for SocialButton.
Typedefs
- NashIconButton = IconButton
- A backwards-compatible alias for IconButton.
- NashTextButton = TextButton
- A backwards-compatible alias for TextButton.