See here: Guide how to install and use plymouth
And/or here: https://wiki.archlinux.org/title/Plymouth#dracut