Let the equilateral triangle be \(ABC\), with one vertex at the vertex \(O=(0,0)\) of the parabola \(y^2=4ax\). Since the parabola is symmetric about the \(x\)-axis, the other two vertices must be symmetric with respect to the \(x\)-axis. Write them as
\[A=(x_1,y_1),\qquad B=(x_1,-y_1),\]
with \(y_1>0\). Both lie on the parabola, so
\[y_1^2=4ax_1.\]
Step 1: Use the equilateral condition. The side \(AB\) is vertical and has length \(2y_1\). The equal sides \(OA\) and \(OB\) have length
\[OA=OB=\sqrt{x_1^2+y_1^2}.\]
For the triangle to be equilateral,
\[\sqrt{x_1^2+y_1^2}=2y_1.\]
Squaring gives
\[x_1^2+y_1^2=4y_1^2 \quad\Longrightarrow\quad x_1^2=3y_1^2.\]
Since \(x_1>0\) and \(y_1>0\), we take the positive root:
\[x_1=\sqrt{3}\,y_1.\]
Step 2: Combine with the parabola equation. Substitute \(x_1=\sqrt{3}\,y_1\) into \(y_1^2=4ax_1\):
\[y_1^2=4a(\sqrt{3}\,y_1).\]
Because \(y_1\neq 0\), divide by \(y_1\):
\[y_1=4\sqrt{3}\,a.\]
Then
\[x_1=\sqrt{3}\,y_1=\sqrt{3}\cdot 4\sqrt{3}\,a=12a.\]
Step 3: Find the side length. The side of the equilateral triangle is
\[AB=2y_1=2(4\sqrt{3}\,a)=8\sqrt{3}\,a.\]
As a check, the equal sides are
\[OA=\sqrt{x_1^2+y_1^2}=\sqrt{(12a)^2+(4\sqrt{3}a)^2}
=\sqrt{144a^2+48a^2}=\sqrt{192a^2}=8\sqrt{3}\,a,\]
which agrees with \(AB\).
Therefore, the length of the side of the equilateral triangle is
\[\boxed{8\sqrt{3}\,a}.\]