In the present work, a phase-field model for dendritic solidification is applied to hot-dip ZnAlMg coatings to elucidate the morphology of zinc dendrites and the solute segregation leading to the formation of eutectics. These aspects define the microstructure that conditions the corrosion resistance and the mechanical behaviour of the coating. Along with modelling phase transformation and solute diffusion, the implemented model is partially coupled with the tracking of crystal orientation in solid grains, thus allowing the effects of surface tension anisotropy to be considered in multi-dendrite simulations. For this purpose, the composition of a hot-dip ZnAlMg coating is assimilated to a dilute pseudo-binary system. 1D and 2D simulations of isothermal solidification are performed in a finite element solver by introducing nuclei as initial conditions. The results are qualitatively consistent with existing analytical solutions for growth velocity and concentration profiles, but the spatial domain of the simulations is limited by the required mesh refinement.