Basic Bottom App Bar

Basic bottom app bar with action buttons

Demo content area

Bottom App Bar with FAB

End position
Demo content area

Auto-Hide on Scroll

Auto-Hide on Scroll
Status: Visible

Scroll down to see auto-hide behavior

When you scroll down, the bottom app bar will hide automatically.

When you scroll back up, it will reappear.

This behavior optimizes screen space for content while keeping actions accessible when needed.

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

Scroll content...

You've reached the bottom! Try scrolling back up.

Custom Actions & Context

Navigation Mode

The bottom app bar displays navigation actions like Home, Favorites, and Profile.

This mode is useful for helping users navigate between main sections of the app.

Bottom app bars can adapt to different contexts, showing different actions depending on the current mode:

  • Navigation Mode: Provides navigation between app sections, with a FAB for the primary action.
  • Editing Mode: Shows context-specific editing actions.
  • Selection Mode: Provides operations for working with selected items.

Switching between contexts provides a consistent location for actions while optimizing for the current task.

Programmatic Control

Current status: Visible

Use the buttons below to control the bottom app bar.

The bottom app bar can be controlled programmatically:

  • Show/Hide: Control visibility with the show() and hide() methods.
  • Add/Remove Actions: Add or remove action buttons dynamically.
  • Add/Remove FAB: Add or remove the floating action button (FAB).

These methods allow you to adapt the bar's behavior and content based on user interactions or application state.

Events & API Methods

[4:23:18 PM] Bottom app bar mounted
[4:23:18 PM] Bottom app bar initialized

The Bottom App Bar provides several API methods and events:

  • Events: Listen for events like visibilityChange to react to bar state changes.
  • API Methods: Use methods like show(), hide(), and isVisible() to control the bar.
  • Configuration Callbacks: Provide callback functions in the initial configuration for key events.

The event system allows you to respond to user interactions and state changes in a flexible way.