The most prevalent pharmaceutical dosage forms at present, the oral-delivery tablets, are granular solids. An inherent limitation of such granular solids for drug release applications is the unpredictability of the microstructure. As a result, the drug release rate and other properties are difficult to control, and their range is also limited. Presented herein, therefore, is a solid dosage form with predictable microstructure and properties. The dosage form includes a drug-containing solid comprising a three dimensional structural framework of one or more two-dimensional structural elements.