From static html to React components