Phoenix 1.7 will have tailwind generators (Add new component based generators with tailwind by chrismccord · Pull Request #4955 · phoenixframework/phoenix · GitHub)
But for 1.6 you need to install it. There’s a guide in the tailwind docs or here: GitHub - phoenixframework/tailwind: An installer for tailwind