The main components of headless are the front-end presentation layer (React, Angular, Vue etc), back-end commerce platform (Shopify, BigCommerce etc), headless CMS (Contentful, Prismic), API layer, microservices, and integration middleware.