Generally useful Compose extensions that could potentially move upstream someday; until then, needed now for Kobweb.