Skip to content

API Overview

Primary export

import { toast } from 'expo-toast';

Show toasts

  • toast.show(options) for full control
  • toast.success(message, options?)
  • toast.error(message, options?)
  • toast.info(message, options?)
  • toast.loading(message, options?)

Update and dismiss

  • toast.transition(id, options)
  • toast.update(id, options) (alias)
  • toast.dismiss(id?)
  • toast.dismissAll()

Promise lifecycle

  • toast.promise(work, messages, options?)

Global config

  • toast.configure(config)
  • toast.isSupported()

Full reference

See API Reference for complete function/type-level documentation.