In the typical treatment of electroweak theory, the gauge group is $G = \mathrm{SU}(2)_I \times \mathrm{U}(1)_Y$. This group is broken by the Higgs mechanism, while the combination of generators $Q = I_3 + Y$ generates an unbroken $\mathrm{U}(1)_Q$ subgroup.
I've wondered whether it is possible to represent the gauge group in a way that the embedding of $\mathrm{U}(1)_Q$ is obvious. The Lie bracket of $I_1$, $I_2$, $I_3$ and $Q$ seems to have the structure of a semidirect product.
Is it correct to say that the gauge group is a semidirect product $G \cong \mathrm{SU}(2)_I \rtimes \mathrm{U}(1)_Q$?