How can i create list of variants inside list of text strings.

In list of variants
I want to create a list of text strings.(As shown in the attached image)


I want to understand clearly
After trying it out, I couldn't get the expected results.

  Discussion posts and replies are publicly visible