Skip to main content

Snackbar

Snackbars provide brief messages about app processes at the bottom of the screen.

💬 Feedback 🎨 Material Design

Import

import { Snackbar } from "@react-native-material/core";

Usage

Snackbars inform users of a process that an app has performed or will perform. They appear temporarily, towards the bottom of the screen. They shouldn’t interrupt the user experience, and they don’t require user input to disappear.

Frequency

Only one snackbar may be displayed at a time.

Actions

Two-line message

Props

message

Type: string;

Optional: No


action

Type: React.ReactElement;

Optional: Yes


...SurfaceProps