Let $X$ be a compact metric space and $P$ be a path component of $X$. Since we are not assuming $X$ is locally path connected, $P$ must need not be open nor closed. Certainly, $P$ must be separable but how bad can $P$ be? Is every separable path-connected metric space, homeomorphic to the path component of some compact metric space?
I'm curious about this question because subspaces like $w(Y)=\{x\in X\mid \text{$X$ is not semilocally simply connected at $x$}\}$ are important homotopy-invariants in the study of Peano continua. If $Y$ is compact and locally path-connected, $X=w(Y)$ may be any compact metric space. Iteration of $w(-)$ becomes relevant. By this, I mean take a path component $P$ of $X$ and then take $w(P)$. This is why I want to know how bad $P$ can be. However, I don't know much about metric compactifications that would be relevant.