A simple toast component with a timeout and type api. Allows you to pass in the # of seconds before it fades out, and pass in a generic type like 'success' for styling. Contains a default slot that either shows a message passed as a prop, or allows you to pass in. custom HTML for formatting more fine-grain formatting.
A Pen by Ronnie Villarini on CodePen.