Cricket players, celebrities and fans from around the world have posted pictures of their cricket bats in a moving tribute to Australian player Phil Hughes.

Hughes, 25, died in hospital on Thursday, two days after suffering a fatal head injury when he was struck by a ball during a match in Sydney.

The #putoutyourbats hashtag soon began trending after Australian cricket fan Paul Taylor's picture of his cricket bat outside his front door inspired others to do the same.

Taylor said it was just a way for "all cricketers to show their respects".

Cricket Australia said it had placed 63 bats in the windows of its Perth headquarters to mark the score Hughes had reached when he was hit by the ball on Tuesday.

Ex-England captain Michael Vaughan and players, Graeme Swann and Jonathan Trott, made the gesture in honour of the 25-year-old, who has been described as a "prodigious talent".

The legendary Indian cricketer Sachin Tendulkar, TV personality Piers Morgan and Arsenal Football Club were also among those paying tribute.

Google Australia also showed their support for the campaign.

Credit: Instagram/Michael Vaughan.