We study a class of two-dimensional N = (0, 4) quiver gauge theories that flow to superconformal field theories. We find dualities for the superconformal field theories similar to the 4d N = 2 theories of class S, labelled by a Riemann surface C. The dual descriptions arise from various pair-of-pants decompositions, that involve an analog of the T N theory. Especially, we find the superconformal indices of such theories can be written in terms of a topological field theory on C. We interpret this class of SCFTs as the ones coming from compactifying 6d N = (2, 0) theory on CP 1 ×C. Moreover, some new dualities of (0, 2) and (2, 2) theories are also discussed.