---
title: "Toastlayer"
canonical_url: https://developer.repebble.com/community/libraries/toastlayer/
last_updated: 2025-08-08
sdk_version: 4.33.1
---
# Toastlayer

Source: https://developer.repebble.com/community/libraries/toastlayer/

## Description

ToastLayer UI element for showing a time-limited notification within your app. Use just like a normal [`Layer`](https://developer.repebble.com/docs/c/User_Interface/Layers.md#Layer "Layer"), such as [`TextLayer`](https://developer.repebble.com/docs/c/User_Interface/Layers/TextLayer.md "TextLayer") or [`MenuLayer`](https://developer.repebble.com/docs/c/User_Interface/Layers/MenuLayer.md "MenuLayer").

## Instructions

1. Copy `ToastLayer.c` and `ToastLayer.h` into your project's `src` directory.
2. Include in your C file with `#include "ToastLayer.h"`
3. Create a ToastLayer with `toast_layer_create()`.
4. Pop up the toast notification when desired with `toast_layer_show()`.
5. The toast will slide out of view when the duration has elapsed. Use `toast_layer_hide()` to hide early.
