In the fourth year of Yong'an under the Great Yan, in Yunjin Town, Jiangnan, seventeen-year-old Su Yunjin works at her family's weaving workshop. With her father framed by Zhao Jintang, head of the Brocade Guild, and a flood washing away the household's looms, she resolutely takes a path no woman has ever walked before: sitting for the imperial court's professional weaving qualification exam, the "Brocade Office," which no woman has ever passed.
She doesn't speak the official language, can barely read, has no connections and no money. All she has are her hands and a heart that refuses to bow. Accompanied by her maid, A Tan, she becomes a student of the reclusive master Madam Cheng and learns the lost art of "Hidden Brocade." She also unexpectedly discovers that her late mother was the thirty-eighth head of Shuyu Pavilion, a secret organization with a three-hundred-year legacy. Facing Zhao Jintang's repeated attempts to obstruct her, the mockery of her peers, and the Zhao family's covert suppression as imperial merchants, Yunjin wields Hidden Brocade as a weapon and grows through each setback. She places fifth in her first Brocade Office exam but narrowly fails. Undeterred, she returns home, opens a school for girls, and builds her strength. In her second attempt, her masterpiece, "The Phoenix Sings to the Ninth Heaven", outshines all the other candidates, winning first place and making her the first woman ever appointed to the Brocade Office since the founding of the Great Yan Dynasty.
Afterward, she establishes a weaving school for women and joins forces with her sisters at Shuyu Pavilion to expose the Zhao family's corruption. She transforms Hidden Brocade from a secret tradition into an open craft for training women artisans. The story closes on a warm image of her standing before the school, sunlight shining like brocade, carrying the promise that "as long as the threads endure, the legacy will live on."