Rex is a principle character in the Bad Batch story arc, an unfinished story arc released as completed animatics.
Rex is introduced to the Star Wars Rebels television series, set fourteen years after Revenge of the Sith, in the season two episode "The Lost Commanders".