[2] At the 2021 European Junior Swimming Championships, held in July in Rome, Italy, Hribar helped an achieve a seventh-place finish in the final of the 4×100-metre freestyle relay, swimming the first leg of the relay in 51.00 seconds to contribute to the final time of 3:22.64, and placed eighth in the final of the 50-metre freestyle with a time of 23.03 seconds and 21st in the preliminary heats of the 100-metre freestyle with a time of 51.22 seconds.
[3] The following year, at the 2022 European Junior Swimming Championships held in July in Otopeni, Romania, he swam a time of 50.44 seconds for the first leg of the 4×100-metre freestyle relay in the final before the second leg swimmer left early with a -0.04 reaction time and the final relay time of 3:21.63 was deemed ineligible by LEN officials and the relay results were disqualified.
[4][5] Day two of competition, he helped achieve an eighth-place finish and set a new Croatian record in the final of the 4×100-metre mixed freestyle relay, contributing a time of 50.27 seconds for the first leg of the relay to the final mark of 3:34.28.
[5] Starting his competition on day three at the 2022 FINA World Junior Swimming Championships, held in August and September in Lima, Peru, Hribar ranked second in the morning preliminary heats of the 50-metre freestyle with a time 22.42 seconds and qualified for the semifinals.
[15][16][17] On the first day of the 2022 FINA Swimming World Cup in Berlin, Germany, Hribar swam a personal best time of 21.84 seconds in the preliminary heats of the 50-metre freestyle and placed 20th.