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.
Inkline includes several predefined toast colors that you can use within your application. You can apply a style using the
You're able to use the
size modifier to control the text and spacing size of your toasts, using one of the available sizes:
You can dismiss toast notification using the
dismissible property. Dismissible toasts have a dismiss button that can be clicked to manually hide them.
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.