Nike has chosen Colin Kaepernick, the first NFL player to kneel during the national anthem as a protest against racism, as one of the faces for advertisements commemorating the 30th anniversary of its "Just Do It" slogan, a move that could draw US President Donald Trump's ire.

"Colin has been a Nike athlete since 2011," Nike spokeswoman Sandra Carreon-John said on Monday. "Colin is one of a number of athletes being featured as part of our 30th anniversary of Just Do It."

She said Nike unveiled the campaign last week by releasing a film featuring Serena Williams entitled "Voice of Belief."

The former NFL quarterback posted a black-and-white close-up of himself on Instagram and Twitter on Monday featuring the Nike logo and "Just do it" slogan along with the quote, "Believe in something. Even if it means sacrificing everything."

"We believe Colin is one of the most inspirational athletes of this generation, who has leveraged the power of sport to help move the world forward," said Gino Fisanotti, a Nike vice president of brand for North America, according to a story by ESPN story, which first reported Nike's decision to use Kaepernick as part of the ad campaign.