Designing a universal 'modal' or 'popover' solution is one of the component-oriented web's holy grails (i suspect at least 50% of existing component libraries were started to do this 馃槅 ). Since solving the modal problem holistically is notoriously difficult, we can instead decompose the problem into smaller parts. Maybe one day that holy grail will emerge as a greater sum of these parts!
Some pieces we've been collecting:
Designing a universal 'modal' or 'popover' solution is one of the component-oriented web's holy grails (i suspect at least 50% of existing component libraries were started to do this 馃槅 ). Since solving the modal problem holistically is notoriously difficult, we can instead decompose the problem into smaller parts. Maybe one day that holy grail will emerge as a greater sum of these parts!
Some pieces we've been collecting: