esdecode

Crémeux — Warm Cream Toast Notification Widget

No ratings
|0 Sales|by DriftPixel Studio|v1.0.0
Crémeux — Warm Cream Toast Notification Widget screenshot 1
1 / 1
0
Sales
Rating
0
Reviews

Description

Overview

Crémeux is a delightful, zero-dependency vanilla-JS toast notification widget wrapped in a warm crème-and-caramel design language. Unlike the usual dark-slate or bright-blue toasts shipped with utility frameworks, Crémeux brings an unmistakably warm, editorial feel — soft parchment backgrounds, hand-crafted ink-stroke icons, caramel accent colours and buttery transitions that feel intentional rather than clinical.

Drop a single <script> tag into any HTML page and you have a fully-functional, accessible notification system in seconds. No npm, no Webpack, no framework dependency — just clean vanilla JS that works everywhere modern browsers run.

Who It's For

  • Frontend developers who want a polished toast component without pulling in a massive UI library.
  • Indie makers and solo founders building lightweight web apps, portfolios or static sites where design coherence matters.
  • Designers who code — the warm crème palette fits beautifully alongside editorial, natural, boutique-commerce and Scandinavian design systems.
  • TypeScript / vanilla-JS projects that need a drop-in widget without JSX or component frameworks.

Key Features In Depth

Crémeux ships four semantically distinct toast variants — success, error, warning and info — each with its own warm-tinted background swatch and hand-drawn-style SVG icon that fits the crème aesthetic. Toasts stack elegantly from the bottom-right (configurable to any corner via a single data attribute), auto-dismiss after a customisable duration, and expose a manual close button so users always stay in control.

A progress bar baked into each toast counts down the auto-dismiss timer visually — a subtle but professional touch absent from most free toast libraries. Toasts can carry a title + body line, or just a single message line. The stacking system caps visible toasts and gracefully queues overflow so your UI never gets buried.

The interactive demo page lets you fire every variant, toggle corners, adjust duration and preview an action-button toast — giving buyers a complete playground before they integrate.

What's Included

  • index.html — self-contained demo page with inline widget CSS/JS and a full interactive control panel.
  • cremeux-toast.js — standalone widget source file ready to copy into any project.
  • README.md — integration guide, API reference and customisation tips.

How to Customise / Get Started

1. Copy cremeux-toast.js into your project and add a <script src="cremeux-toast.js"></script> tag.
2. Call CremToast.show({ type: 'success', title: 'Saved!', message: 'Your changes were saved.' }) from anywhere.
3. Override the CSS custom properties (e.g. --crm-accent, --crm-bg) to remap the palette to your own brand in seconds.
4. Pass options like position, duration and action per-call or set global defaults via CremToast.configure().

Features

Four toast variants: success, error, warning and info — each with warm-tinted backgrounds and SVG icons
Animated countdown progress bar per toast for clear auto-dismiss feedback
Configurable position: bottom-right, bottom-left, top-right or top-left
Optional action button per toast (e.g. 'Undo', 'View') with a callback function
Stacking queue system — caps visible toasts and queues overflow gracefully
Smooth slide-in / fade-out CSS transitions with no jank
Single global configure() method to set default duration, max stack and position
Zero dependencies — pure vanilla JS, no npm, no build step required
CSS custom properties for one-line palette overrides
Fully accessible: role=alert, aria-live and keyboard-focusable close button
Interactive demo page with live controls for all options
Self-contained: ships as one JS file plus a demo HTML page

Requirements

  • Any modern browser (Chrome 80+, Firefox 78+, Safari 13+, Edge 80+)
  • No build step or package manager required
  • No external frameworks or libraries needed

Changelog

**v1.0.0** (Latest) - Initial release of Crémeux toast notification widget - Four variants: success, error, warning, info - Countdown progress bar and stacking queue - Interactive demo page with live controls - Global configure() API with per-call overrides

Frequently Asked Questions

Do I need npm or a build tool to use this widget?

No. Just copy cremeux-toast.js into your project and add a script tag. It works as plain vanilla JS in any HTML page with no build step.

Can I change the colours to match my own brand?

Yes. The widget exposes CSS custom properties like --crm-accent, --crm-bg and --crm-text. Overriding them in your own stylesheet remaps the entire palette instantly.

How do I add an action button (e.g. 'Undo') to a toast?

Pass an action object in the options: CremToast.show({ type: 'info', message: 'Item deleted', action: { label: 'Undo', onClick: myFn } }). The button appears inline and fires your callback when clicked.

How many toasts can be visible at once?

By default up to 4 toasts are visible simultaneously. Extra toasts are queued and appear as older ones dismiss. You can change this limit via CremToast.configure({ maxStack: 6 }).

Is this widget accessible?

Yes. Each toast uses role=alert and aria-live=polite so screen readers announce new messages. The close button is keyboard-focusable with a visible focus ring.

Can I use this in a TypeScript project?

Absolutely. The JS source is clean modern ES2020 and works without modification in a TypeScript project as a script import. A JSDoc-typed API makes IDE autocomplete work out of the box.

Technical requirements

  • See the detailed requirements in the product description below.

What is included

  • Downloadable product files
  • Product listing and product page guidance
  • Product files ready for self-hosting or integration
  • 12 listed features
  • Changelog included on the product page

Who is this product for

  • Teams shopping within TypeScript
  • Use cases aligned with toast notification, vanilla js, widget, ui component

License and usage

  • Verify the exact usage rights on the selected license before deployment or client handoff
  • Keep the purchase record and license certificate for future verification

Updates and support

  • 6 months of seller support included
  • Review the seller support scope before purchasing.
  • Recent changes are visible in the product changelog
  • Use the changelog to confirm ongoing maintenance before rollout

Technical details

Current version
1.0.0
Last updated
Jul 11, 2026
Support period
6 months of seller support included

Marketplace review

Content review process

No completed marketplace review record is available for this product.

This is not a full penetration test or a guarantee that the product is vulnerability-free.

License comparison

A license is tied to one end product, not strictly to one domain. Development, staging, and the final production domain may belong to the same licensed deployment.

UseRegular LicenseExtended License
Source code modification
Own project use
One client project
One production deployment
Development and staging
Paid SaaS or paid user access
Multiple unrelated client projects
Redistribute source code
Resell source code
Read the full license terms →

License FAQ

Can I modify the source code?

Yes, under both licenses.

Can I use the script for a client?

Yes, for one client end product.

Can I install it on a staging domain?

Yes. Development and staging may belong to the licensed deployment.

Do I need another license for another client?

Yes, each unrelated client end product needs its own license.

Can I use it for a paid SaaS?

Yes, with an Extended License.

Can I resell the source code?

No. Standalone redistribution or resale is prohibited.

Is a license limited strictly to one domain?

No. It is tied to one end product, which may use development, staging, and production domains.

This product is temporarily unavailable for purchase.
Instant digital download
Review scope shown below
Recent product changes listed in the changelog
6 months of seller support included

Item Details

Last Update
July 11, 2026
Published
July 10, 2026
Version
1.0.0
Category
TypeScript
Sales
0
Reviews
No reviews

Share This Item

License Info

Regular License — Use in one end product which end users are not charged for.

Extended License — Use in one end product which end users can be charged for.

Verify a license key →