HomePluginsToolsWorkflowAboutContact
GetSet

Premium UI/UX layout engines, customizable micro-interaction plugins, and high-performance components for modern web developers.

Plugins

  • Carousel
  • Select
  • Zoom
  • FlexoGrid
  • Sortable
  • Modal
  • Drawer
  • Tooltip
  • Popover
  • Toast
  • ContextMenu
  • Tabs
  • Accordion
  • Reveal
  • Autocomplete
  • Tags
  • Range
  • DatePicker
  • Upload
  • Cropper
  • Table
  • Tree
  • Editor

Company

  • Home
  • Plugins
  • Developer Tools
  • Showcase
  • Our Process
  • About Us
  • Contact

Policies

  • Terms and Conditions
  • Privacy Policy
  • Accessibility Policy
  • Cookie Policy

© 2026 GetSet. All rights reserved.

Crafted for frontend excellence.

Your Bundle

Your bundle is empty

Add plugins from the catalog to build one combined CDN link — like picking font families.

Browse plugins
Overlay Plugin

GS Toast

Toast notification system with 8 positions, stacking + queue, progress bars, swipe-dismiss, and per-edge entrance animations.

Latest: v1.0.2
Downloads last month: 187
Visit Demo Website

Install Package

npm i @get-set/gs-toast
or via CDN
<link rel="stylesheet" href="https://cdn.get-set.it/gs-toast/latest/gs-toast.min.css">
<script src="https://cdn.get-set.it/gs-toast/latest/gs-toast.min.js"></script>
Interactive Playground

Live Sandbox

Toast.jsx
1
2
3
4
5
6
7
8
9
import Toast from '@get-set/gs-toast';

export default function App() {
  return (
    <Toast>
      <div className="content">Your Toast content</div>
    </Toast>
  );
}
Live Preview

Every click fires a toast with your current options.

Options

Configuration Values

Reference?Stable id. Auto-generated when omitted; reused by `update`/`dismiss`.
Position?Container position anchor.
Gap?Gap (px) between stacked toasts.
Max Visible?Max toasts visible per container; the rest queue.
Type?Semantic type. Drives the auto icon + accent.
Title?Bold heading line.
Message?Body text (escaped).
Html?Rich HTML body (used instead of `message` when set).
Icon?Icon override. HTML string, `false` to hide, or omit for the auto icon.
Duration?Auto-dismiss delay in ms.
Auto Close?Alias of `duration` (react-toastify naming).
Swipe Threshold?Distance (px) past which a swipe dismisses.
Progress Direction?Direction the progress bar runs.
Animation?Entrance animation name.
Exit Animation?Exit animation name. Mirrors `animation` when omitted.
Animation Duration?Animation duration(s) in ms.
Animation Easing?CSS easing for the toast animation.
Theme?Visual theme. Default: 'auto'.
Accent?Accent color override (CSS var --gst-accent).
Class Name?Extra class name applied to the toast root.
Role?ARIA role. Default: 'status' ('alert' for error/warning).

Feature Flags

API Specifications

OptionTypeDefaultDescription
referencestringnoneStable id. Auto-generated when omitted; reused by `update`/`dismiss`.
positionGSToastPosition'top-right'Container position anchor. Default: 'top-right'.
gapnumber12Gap (px) between stacked toasts. Default: 12.
maxVisiblenumbernoneMax toasts visible per container; the rest queue. Default: Infinity.
newestOnTopbooleantrueNewest toast appears on top of the stack. Default: true.
typeGSToastType'default'Semantic type. Drives the auto icon + accent. Default: 'default'.
titlestringnoneBold heading line.
messagestringnoneBody text (escaped).
htmlstringnoneRich HTML body (used instead of `message` when set).
iconstring | falsenoneIcon override. HTML string, `false` to hide, or omit for the auto icon.
durationnumber | false5000Auto-dismiss delay in ms. `false` = sticky (no auto-close). Default 5000.
autoClosenumber | falsenoneAlias of `duration` (react-toastify naming). Overrides when set.
pauseOnHoverbooleantruePause the countdown while the pointer is over the toast. Default: true.
pauseOnFocusLossbooleantruePause the countdown while the window/tab loses focus. Default: true.
closeButtonbooleantrueShow the × dismiss button. Default: true.
dismissOnClickbooleanfalseDismiss when the toast body is clicked. Default: false.
swipeToDismissbooleantrueDrag/swipe to dismiss. Default: true.
swipeThresholdnumber80Distance (px) past which a swipe dismisses. Default: 80.
progressBarbooleantrueShow the depleting countdown progress bar. Default: true when timed.
progressDirectionGSToastProgressDirection'rtl'Direction the progress bar runs. Default: 'rtl' (depletes to the start).
animationGSToastAnimation | false'slide'Entrance animation name. `false` disables motion. Default 'slide'.
exitAnimationGSToastAnimation | falsenoneExit animation name. Mirrors `animation` when omitted.
animationDurationnumber | { enter?: number; exit?: number }320Animation duration(s) in ms. Number = both; object = per phase.
animationEasingstring'cubic-bezier(.21,1.02,.73,1)'CSS easing for the toast animation.
reducedMotion'auto' | boolean'auto'Honor prefers-reduced-motion. 'auto' | true | false. Default 'auto'.
actionsGSToastAction[]noneAction buttons rendered under the message.
themeGSToastTheme'auto'Visual theme. Default: 'auto'.
accentstringnoneAccent color override (CSS var --gst-accent).
rtlbooleanfalseRight-to-left layout. Default: false.
customClassGSToastCustomClassnonePer-part class overrides.
classNamestringnoneExtra class name applied to the toast root.
role'status' | 'alert' | 'log'noneARIA role. Default: 'status' ('alert' for error/warning).

Technical Features

8 Positions

Any corner or edge of the screen.

Queue & Stack

Throttled queue with graceful stacking.

Progress Bars

Auto-dismiss countdown you can pause on hover.

Swipe Dismiss

Flick a toast away on touch devices.