port uniquearray to new component API