UI composition & animation in pure HTML