She is based on the princess from The Princess and the Pea.
Pea was a former princess of Duloc who was disinherited of her title after she married the dwarf Grumpy out of love. She had a hard time sleeping on the couple's lumpy matress, so Grumpy stacked 25 mattresses on top of one another to help her fall asleep. However, due to the great height, Pea fell from the top of the mattresses to her death.
- Since Duloc in the films never existed as a kingdom prior to Lord Farquaad's reign, Pea's existence may not apply to the main canon.