How to show a variant for empty state conditionally?

On our project we have an Events calendar and are looking for a way to handle the “empty” state when we have no upcoming events. Anybody have any experience with this sort of thing using conditional logic? We pull the events from the CMS but don’t necessarily want to make an empty state event. Was more so hoping for a way to conditionally render a new component entirely