Sarah Hyland has hit out at her critics after receiving a barrage of negative comments following her plea for donations for her cousin's funeral costs.

Sarah's 14-year-old cousin Trevor Canaday was killed in a car accident on Saturday by an alleged drunk driver and she went on Instagram stories to promote the GoFundMe page the following day.

The Modern Family star has come under fire for giving only $1,000 and asking for money for her family when she is worth several millions.

In a message on Monday, Sarah wrote: 'I'd like to ask those who have negative thoughts or opinions about the tragedy that happened to my family, to keep them to themselves. You don't know all the details. And how dare you attack when a beautiful life has been lost.'

Sarah Hyland is upset about the negative comments she's received after asking for donations for her cousin's funeral

The 28-year-old star took to Twitter and Instagram stories to ask people to stop posting negative comments

Announcing the tragic news on Sunday, the actress shared a photo of the teen and wrote, 'This is my 14-year-old cousin Trevor. Yesterday, he was killed by a drunk driver. My Uncle is still in the hospital in need of more surgeries,'

She asked her 6million followers to help with her family's funeral and medical expenses, sharing a link to a GoFundMe seeking $10,000.

The 28-year-old — who renegotiated her Modern Family paycheck to above $100,000 per episode, earning her around $2.5million every season — herself donated $1,000.

Her onscreen sister Ariel Winter also shared the GoFundMe in support of her co-star and pledged $2,500.

People flocked to comment on Sarah's last Instagram photo, which showed her skinny dipping while enjoying a tropical getaway.

RIP: The Modern Family shared the heartbreaking news on her Instagram stories on Sunday, asking her 6million followers to help with her family's funeral and medical expenses, sharing a link to a GoFundMe seeking $10k

Why? Sarah attracted a lot of comments from people who couldn't understand why she would ask for donations when she is a millionaire

They criticized the TV star for asking her 'poor' fans for money when she could easily cover the costs herself.

'Awkward moment when you are worth 9million and only donate 1k to your cousins go fund me account lol' wrote user @jojoozz21.

Another lengthy comment read: 'Says alot about the kind of person you are, that you would ask your followers to donate for your cousins funeral, when you sit in a position of great privilege and have more money then most of us would ever hope to see in our lifetimes.

'My suggestion, use your practically bottomless bank account to give your cousin the send off he deserves and stop asking people that can barely keep their electricity on, to pick up the pieces.' wrote @renroseandcat.

Donation: The 28-year-old — who renegotiated her Modern Family paycheck to above $100k per episode, earning her around $2.5million every season — herself donated $1k

Co-star support: Her Modern Life co-star Ariel Winter pledged $2,500

Police identified the suspect as Jeffrey Eggeling of Bennington, Nebraska.

Sarah also named the suspect, though incorrectly identified him as 'Jeffery Eggerling.' Mr. Eggeling, 36, was arrested after allegedly fleeing the scene.

'Jeffery Eggerling took a 14 year old boy's life,' (sic) she wrote.

'Jeffery Eggerling hit my Uncle's Car so fast my cousin (who was wearing a seatbelt) was ejected from the car. (sic)

Hit and run: Police identified the suspect as Jeffrey Eggeling of Bennington, Nebraska

Devastating: According to the Omaha World Herald, Trevor and his dad were driving in Omaha, Nebraska in their 1993 Nissan Maxima when a 2011 Ford Escape ran a red light an ploughed into them.

'Jeffery Eggerling has two prior DUI's. He also tried to RUN from the scene of the crime. Jeffery Eggerling is under arrest and I hope to God he spends the rest of his life in prison.' (sic)

According to the Omaha World Herald investigators concluded that Trevor and his dad were driving in Omaha, Nebraska in their 1993 Nissan Maxima when a 2011 Ford Escape ran a red light an ploughed into them.

Police said the driver of the Ford 'left his vehicle at the scene and fled'. He was uninjured.

The paper also confirmed that a search of court records found that suspect had two prior convictions for driving while intoxicated.

Trevor's GoFundMe describe him as 'a funny, smart, innovative, athletic, goofy kid and he was so loved.'

It claimed he was on his way to a show choir event when the crash occurred.

'His dad, Bryan, is recovering physically, but sadly Trevor has gained his wings and is singing and playing some crazy football in heaven,' it read.