Gene Wilder, star of Willy Wonka & the Chocolate Factory and Mel Brooks comedies such as The Producers, Blazing Saddles and Young Frankenstein, is dead at 83, his family says.

Wilder's nephew said Monday that the actor and writer died late Sunday at his home in Stamford, Conn., from complications from Alzheimer's disease.

Jordan Walker-Pearlman said in a statement that Wilder was diagnosed with the disease three years ago, but kept the condition private so as not to disappoint fans.

"He simply couldn't bear the idea of one less smile in the world," Walker-Pearlman said.

The frizzy-haired actor was a master at playing panicked characters caught up in schemes that only a madman such as Mel Brooks could devise, whether reviving a monster in Young Frankenstein or bilking Broadway in The Producers.

Wilder is shown at an appearance for his autobiography Kiss Me Like A Stranger in June 2005 in London, England. (MJ Kim/Getty Images)

"One of the truly great talents of our time," Mel Brooks tweeted. "He blessed every film we did with his magic & he blessed me with his friendship."

Wilder also knew how to keep it cool as in Blazing Saddles and as the charming candy man in the children's favourite Willy Wonka & the Chocolate Factory. One of his craziest roles was playing the therapist having an affair with a sheep in Woody Allen's Everything You Always Wanted to Know About Sex (But Were Afraid to Ask).

Pryor collaborations

Born Jerome Silberman, Wilder was also known for his collaborations with Richard Pryor as in Silver Streak — partly shot in Toronto and Calgary — Stir Crazy, which was directed by Sidney Poitier, and See No Evil, Hear No Evil, which like Silver Streak was helmed by recently deceased Canadian-born director Arthur Hiller.

They created several memorable scenes, including Pryor providing Wilder with directions on how to "act black" as in Silver Streak, and Wilder bravely confronting a serial killer in the prison comedy Stir Crazy.

Gene Wilder, left, and Richard Pryor are shown in this December 1980 handout photo, shortly after the release of Stir Crazy. (AP)

But Wilder would insist in a 2013 interview that he was no comedian. He told interviewer Robert Osborne it was the biggest misconception about him.

"What a comic, what a funny guy, all that stuff! And I'm not. I'm really not. Except in a comedy in films," Wilder said.

"But I make my wife laugh once or twice in the house, but nothing special. But when people see me in a movie and it's funny then they stop and say things to me about 'how funny you were.' But I don't think I'm that funny. I think I can be in the movies."

Gene Wilder was one of the funniest and sweetest energies ever to take a human form. If there's a heaven he has a Golden Ticket. ;^) —@JimCarrey

In 1968, Wilder received an Oscar nomination for his work in Brooks' The Producers. He played the introverted Leo Bloom, an accountant who discovers the liberating joys of greed and corruption as he and Max Bialystock (Zero Mostel) conceive a Broadway flop titled Springtime For Hitler and plan to flee with the money raised for the show's production. Matthew Broderick played Wilder's role in the 2001 Broadway stage revival of the show.

Wilder directed four movies, including Haunted Honeymoon, starring his second wife, Gilda Radner. He was with Radner until her death from ovarian cancer in 1989.

He fell in love with the former Saturday Night Live star, who was then married, while making 1982's Hanky-Panky.

But Wilder was frank about problems in the marriage even before her illness in the 2005 autobiography Kiss Me Like a Stranger.

Gilda Radner, centre, and Gene Wilder, right, perform in a scene from the film Hanky Panky, directed by Sidney Poitier in Boston on Aug. 27, 1981. (Bill Polo/Associated Press)

"As much as I loved being with her, I wanted to breathe again without having to worry about her," Wilder wrote.

After Radner died of ovarian cancer in 1989, Wilder spent much of his time after promoting cancer research. He opened a support facility for cancer patients called "Gilda's Place." In 1991, he testified before Congress about the need for increased testing for cancer.

Wilder is survived by his wife, Karen, whom he married in 1991.

Another You, released in 1994 and also co-starring Pryor, was his final big screen appearance.

Wilder worked mostly in television in recent years, including appearances on Will & Grace — including one that earned him an Emmy Award for outstanding guest actor — and a starring role in the short-lived sitcom Something Wilder.

Gene Wilder, an avid tennis fan, is shown with his wife Karen Boyer at the 2007 U.S. Open in New York City. (Al Bello/Getty Images)

As for why he stopped appearing on the big screen, Wilder said in 2013 he was turned off by the noise and foul language in modern movies.

"I didn't want to do the kind of junk I was seeing," he said in an interview. "I didn't want to do 3D for instance. I didn't want to do ones where there's just bombing and loud and swearing, so much swearing ... can't they just stop and talk instead of swearing?"

Appeared in Bonnie and Clyde​

Wilder, a Milwaukee native, was born June 11, 1933. His father was a Russian emigre, his mother was of Polish descent. When he was six, Wilder's mother suffered a heart attack that left her a semi-invalid. He soon began improvising comedy skits to entertain her, the first indication of his future career.

He started taking acting classes at age 12 and continued performing and taking lesson through college. In 1961, Wilder became a member of Lee Strasberg's prestigious Actor's Studio in Manhattan.

That same year, he made both his off-Broadway and Broadway debuts. He won the Clarence Derwent Award, given to promising newcomers, for the Broadway work in Graham Greene's comedy The Complaisant Lover.

He used his new name, Gene Wilder, for the off-Broadway and Broadway roles. He lifted the first name from the character Eugene Gant in Thomas Wolfe's Look Homeward, Angel, while the last name was clipped from playwright Thornton Wilder. A key break came when he co-starred with Bancroft in Bertolt Brecht's Mother Courage, and met Brooks, her future husband.

American actor Gene Wilder performs alongside Rolf Saxon, during a rehearsal of Neil Simon's Laughter on the 23rd Floor on Oct. 2 1996. (Shawn Baldwin/Reuters)

"I was having trouble with one little section of the play, and he gave me tips on how to act. He said, 'That's a song and dance. He's proselytizing about communism. Just skip over it, sing and dance over it, and get on to the good stuff.' And he was right," Wilder later explained.

Before starring in The Producers, he had a small role as the hostage of gangsters in the 1967 classic Bonnie and Clyde.

A man who lit up the world with his joy and genius. I can't say what it meant to act with him and get to know his heart. ❤️RIP <a href="https://twitter.com/hashtag/GeneWilder?src=hash">#GeneWilder</a> —@DebraMessing

Gene Wilder.An inspiration.His performances had guts,originality&perfect timing.Original characters all with soul. <a href="https://t.co/CLCo9kuWIe">pic.twitter.com/CLCo9kuWIe</a> —@vincentdonofrio