Lukas Gage is rewriting the rules of the celebrity memoir.

Ever since his cheeky breakout turn in Season 1 of HBO’s “The White Lotus,” the winsome heartthrob has become a familiar face in TV shows such as “You,” “The Other Two” and “Overcompensating,” with scene-stealing big-screen turns in “Smile 2” and “Companion.”

But in his revealing new “I Wrote This For Attention," Gage eschews the dishy blind items and A-list name drops that we’ve come to expect from most Hollywood tell-alls. Instead, the San Diego native writes thoughtfully and maturely about his upbringing: the collective impact of his father’s abandonment, his brother’s heroin addiction, and his mother’s penchant for gambling.

He also gets candid about his struggles with substance abuse and coming to terms with his sexuality, as well as his diagnosis with borderline personality disorder. He says the latter was responsible in part for his whirlwind six-month marriage to Chris Appleton, a celebrity hairstylist for clients including Kim Kardashian.

“A few months after my wedding in ape suits, something clicked,” Gage writes. “I had an elusive moment of clarity where I didn’t recognize myself anymore. … I understood that while I could blame a lot of my behavior on my diagnosis, there was also a lot I had to confront. That there had been so much from my growing up that maybe stopped me from growing up.”