Space capsules have typically been smaller than in diameter, although there is no engineering limit to larger sizes.
Materials for the space capsule are designed in different ways, like the Apollo Command Module's aluminum honeycomb structure.