A web component for building clocks