Concat
Last updated
Last updated
Combines two lists into a single list by joining them end-to-end. This is perfect for merging collections like color arrays, spacing scales, or any other grouped token sets.
a
The first list to combine
List
Yes
b
The second list to add to the end
List
Yes
value
The combined list with all items from both lists
List
Drag the Array Concat node into your graph.
Connect your first list (like [Red, Blue]
) to the "a" input.
Connect your second list (like [Green, Yellow]
) to the "b" input.
Run the graph—your output will be [Red, Blue, Green, Yellow]
.
Both lists must be of the same type (e.g., both colors or both numbers).
Use multiple Concat nodes to combine more than two lists.
Combining Token Collections: Merge a base set of tokens with extension sets (e.g., join core colors with accent colors).
Building Complete Scales: Combine different parts of a scale (e.g., join negative and positive spacing values).
Theme Management: Join multiple theme-specific token collections to create a comprehensive theme.
: For adding just a single item to a list.
: For removing items from a list.