I am following the terminology established in the book by John M. Lee. For a family $(X_\alpha)_{\alpha \in A}$ of topological spaces let $\prod_{\alpha \in A} X_\alpha$ be equipped with the usual product topology (not the box topology), i.e. the topology generated by the basis consisting of elements of the form $$\prod_{\alpha \in A}U_\alpha$$ where $U_\alpha$ is open in $X_\alpha$ and $U_\alpha = X_\alpha$ for all but finitely many $\alpha \in A$. Then we have the following theorem:
Theorem (Characteristic Property of Infinite Product Spaces). For any topological space $Y$, a map $f: Y \to \prod_{\alpha \in A}X_\alpha$ is continuous if and only if each of its component functions $f_\alpha = \pi_\alpha \circ f$ is continuous. The product topology is the unique topology on $\prod_{\alpha \in A}X_\alpha$ that satisfies this property.
From this theorem we easily deduce that each coordinate function $\pi_\alpha$ is continuous. Now I have read a few times that the product topology is also the smallest topology for which this holds (that each $\pi_\alpha$ is continuous). How do I see this?