🛠️ VitNode is still in development! You can try it out, but it is not recommended to use it now in production.
Frontend
Notifications
Toast

Notifications Toast

VitNode is integrated with sonner (opens in a new tab) liblary to provide toast notifications created by Emil Kowalski (opens in a new tab).

Usage

import { Toaster, toast } from 'sonner';
 
export const Example = () => {
  return <button onClick={() => toast('My first toast')}>Give me a toast</button>;
};

API

Below is the list of available methods supported by VitNode.

Tabs

toast('Event has been created');