Traditional modak is made of a rice flour dough that is filled with a mixture of grated coconut and jaggery (unrefined cane sugar), often flavored with cardamom powder and shaped into dumplings before steaming or frying.