Layout and template helpers for Bagel UI