macOS frameworks are also stored as bundles; the top-level directory of a framework bundle has a name that is the name of the framework followed by the extension .framework.
The Finder displays framework bundles as directories rather than as opaque files.