Add union component and example