Messages

Messages looks up either searchParams.error or searchParams.success in a caller-supplied messages map and renders the result as an AlertNavigateOnClose (danger for errors, success for successes). It renders nothing if neither param is set, or if the param value isn't a key in the map.

Try it: ?success=saved, ?success=deleted, ?error=not-found, or ?error=forbidden.