Toast

Toasts are small, non-intrusive notifications that appear on the screen to inform users of a specific event or action.

Toasts are designed to be brief and concise, providing users with relevant information without interrupting their workflow.

Color Variants

Inkline includes several predefined toast colors that you can use within your application. You can apply a style using the color property.

Size Variants

You're able to use the size modifier to control the text and spacing size of your toasts, using one of the available sizes: sm, md, and lg.

Dismissible

You can dismiss toast notification using the dismissible property. Dismissible toasts have a dismiss button that can be clicked to manually hide them.

Rendering

Inkline's toast notifications allow you to fully customize the content displayed, including icons, titles, and messages. By utilizing hoisting, you can render your own custom elements, giving you complete control over the look and feel of your toasts.

This level of customization ensures that your notifications align seamlessly with your application's design and branding, enhancing the overall user experience.

Props

IToastContainer

IToast

Slots

IToast

Events

IToast

Design Tokens

IToastContainer

IToast