a solid chocolate bar contains some or all of the following components: cocoa solids, cocoa butter, sugar, and milk. the relative presence or absence of these define the subclasses of chocolate bar made of dark chocolate, milk chocolate, and white chocolate.