The vertical slice architecture (VSA) is an architectural pattern used in software development that structures the codebase of an application by creating complete end-to-end slices of functionality, which span across all layers of the application.
Rather than structuring codebase by layer, the vertical slice architecture structures the codebase around a single feature, including all the necessary code components such as UI, domain, infrastructure, and application layers.