Angular e-commerce template
A storefront from home page to order tracking, built from the Styloviz components
Seventeen routes — home, category, search, product, compare, cart, checkout, order, six account pages and sign-in — over root signal services for the catalogue, cart, wishlist, checkout and account, all money in integer cents. Leave STORE_API.baseUrl empty and it runs on bundled mock data with the cart in localStorage; set it and the same services fetch and sync over HTTP. Light-first, with a dark mode the shopper can switch to.
Included with a Styloviz Pro license. The download is a complete Angular project — npm install && npm start.


- routes, 10 sections
- 17
- checkout steps
- 4
- display currencies — USD, EUR, GBP
- 3
- integer money end to end
- cents
Walkthrough · 1:31
What it does, page by page
1. Home
OpenA three-slide hero carousel, a “Shop by category” bento whose item counts come from the same query the category page runs, Best sellers and New arrivals product rails, a numbers band, a journal strip and a photo grid. Every card adds to the cart, saves to the wishlist or opens a quick-view dialog with gallery, variant, quantity and Add to cart.
2. Category
OpenA product grid or list for one department, nine per page, with a breadcrumb and five sorts — Relevance, Price low to high and high to low, Newest, Top rated. Filter by brand, colour swatch, rating and a price range; on phones the filters open in a drawer with “Show N results”. No matches shows an empty state with Clear filters.
3. Search
OpenResults for ?q= across title, brand and category, with the same facets, sort and pagination as a category page; suggestions in the search bar jump straight to a product. A term with no matches says so and offers the departments; a filter that narrows results to zero keeps the filters so it can be undone.
4. Product
OpenA gallery with zoom and lightbox that follows the chosen variant; colour or size options with sold-out variants disabled; a quantity stepper, Add to cart and Buy now; a size-and-fit popover on apparel; Description, Specifications and Shipping & returns tabs; reviews; related products; a Share link copied to the clipboard; and a sticky buy bar on phones.
5. Compare
OpenUp to four products side by side from ?ids= — price, rating and every spec key any of them has, with “—” where one is missing. The highest rated is marked Recommended; remove a column or add any one to the cart.
6. Cart
OpenLine items with quantity and a confirm before removal, a free-shipping progress bar to $75, promo codes (“WELCOME10” for 10 % off, “FRESH25” for $25 off a $200 subtotal, refused below it) and a gift card applied after tax. Every change shows at once and syncs behind the shopper; a failed sync rolls the change back and offers Try again. Best sellers not yet in the cart are suggested underneath.
7. Checkout
OpenAddress, Shipping, Payment, Review — a stepper you can step back through but not skip ahead in, reachable only with a non-empty cart. Pick a saved address or validate a new one; choose Standard, Express or Next day; enter a card with masked number, expiry and CVC checks (no payment is processed). Place order waits for the order to come back, and the cart is cleared only after it does.
8. Order
OpenConfirmation and tracking: a Placed, Packed, Shipped, Delivered tracker, a dated event timeline, the lines, the delivery address, the totals and the tracking number. Copy the order number, or Reorder to put the items back in the cart. An unknown number shows “Order not found”, never someone else’s order.
9. Account
OpenAn overview with order count, total spent (cancelled orders excluded), loyalty points and wishlist size, and the three latest orders. Beside it: order history with expandable rows and Reorder; an address book with add, edit, delete and set default; saved cards and a gift card whose code stays masked until a second Reveal; the wishlist with Move to cart; and a profile with a photo upload and three notification switches that roll back if the save fails.
10. Sign in
OpenSign in with email and password (returning to the page that asked), a Forgot password panel, Google and Apple buttons, Create account with a terms checkbox, and a six-digit email code. All of it runs against a demo AuthService that starts signed in — wire it to your identity provider.
Built from Styloviz components
The template is a composition of the same packages you install from npm — nothing in it is a one-off copy of a component.
| Component | Package | Used for |
|---|---|---|
| sv-product-card · sv-cart-line-item · sv-order-summary · sv-thumbnail-card | @styloviz-pro/commerce | product grids, cart lines, every totals panel and the related and add-on rails |
| sv-credit-card · sv-gift-card | @styloviz-pro/commerce | the checkout card preview, saved cards and the masked gift card |
| sv-filter-panel | @styloviz-pro/display | brand, colour, rating and price facets |
| sv-tiles · sv-comment | @styloviz-pro/display | the category bento and product reviews |
| sv-mega-menu | @styloviz-pro/mega-menu | the All Categories department menu |
| sv-search-bar-pro | @styloviz-pro/search-bar | header and results-page search with product suggestions |
| sv-command-palette | @styloviz-pro/command-palette | the ⌘K / Ctrl+K go-to and shop-by-category palette |
| sv-notification-center-pro | @styloviz-pro/notification-center | order and price-drop updates in the header |
| sv-drawer · sv-dropdown-menu · sv-confirm-dialog · sv-popover | @styloviz-pro/overlays | the cart and filter drawers, account and currency menus, remove confirmations and size-and-fit |
| sv-stepper-pro | @styloviz-pro/stepper | the checkout steps and the order tracker |
| sv-timeline-pro | @styloviz-pro/timeline | the order’s event history |
| sv-select-dropdown-pro | @styloviz-pro/select-dropdown | the sort menu |
| sv-input-field-pro | @styloviz-pro/input-field | address, promo, gift-card, profile and sign-in fields |
| sv-file-upload-pro | @styloviz-pro/file-upload | the profile photo |
| sv-avatar-pro | @styloviz-pro/avatar | the shopper in the account pages |
| sv-number-ticker · sv-speed-dial | @styloviz-pro/layout | counted-up home numbers and the support button |
| sv-price · sv-address-card | @styloviz/commerce | every price with its compare-at, and saved addresses |
| sv-carousel · sv-image-gallery · sv-line-clamp | @styloviz/display | the home hero, product and quick-view galleries, and clamped descriptions |
| sv-segmented-control · sv-number-input · sv-rating · sv-radio-group · sv-input-mask · sv-checkbox · sv-otp-input | @styloviz/forms | variants, quantity, star ratings, shipping method, masked phone, ZIP and card fields, and the email code |
| sv-site-footer · sv-scroll-to-top · sv-copy-to-clipboard | @styloviz/layout | the footer with its newsletter form, back-to-top and the product Share link |
| sv-tooltip · sv-progress-bar · sv-result | @styloviz/overlays | shipping and returns hints, free-shipping progress and the success screens |
| sv-tabs | @styloviz/tabs | the product detail tabs |
| sv-breadcrumb | @styloviz/breadcrumb | category and product trails |
| sv-pagination | @styloviz/pagination | category and search results |
| sv-skeleton-loader | @styloviz/skeleton-loader | product-card placeholders while a category loads |
| sv-empty-state | @styloviz/empty-state | empty cart, wishlist, orders and no-results |
| sv-alert-banner | @styloviz/alert-banner | the cookie notice and sign-in errors |
| sv-modal | @styloviz/modal | quick view and the address editor |
| sv-toggle-switch | @styloviz/toggle-switch | notification preferences |
| sv-toast-host | @styloviz/toast | added-to-cart and saved confirmations |
| sv-badge | @styloviz/badge | cart count, sale and new flags, order status |
| sv-button | @styloviz/button | every action button |
| sv-skeleton-shell · sv-error-shell | @styloviz/core | loading and error with Try again on every catalogue and account page |
| sv-icon-pro | @styloviz-pro/icons | every glyph — the template registers the ones it names |
What it would cost to build
Our estimate for building the same thing from scratch is 7–9 weeks for one experienced Angular developer — roughly 280–360 hours for the seventeen routes, the faceted catalogue, the optimistic cart with rollback, the four-step checkout, the order and account pages, the cents arithmetic and the specs — before any of your own backend work. It is an estimate, not a measurement.
Questions
Does it connect to my backend?
Yes. Set STORE_API.baseUrl in store.config.ts and the catalogue loads with GET /catalog , the account with GET /account , every cart change is sent with PUT /cart , an order is placed with POST /orders and the newsletter posts to /newsletter . Leave it empty and the same services resolve the bundled mock data in the browser after a short delay, with the cart kept in localStorage.
Does it take real payments?
No. The payment step validates a card number, expiry and CVC and draws the card, but nothing is charged and order placement is mocked until you set a backend. Collect card details with your payment provider’s own element rather than into app state.
How are cart totals calculated?
In integer cents. The subtotal is unit price × quantity per line; a promo comes off first, capped at the subtotal; tax is 8.5 % of what remains; a gift card is applied after tax, capped at what is owed. At checkout shipping is added and the gift card can cover it too. Prices are stored in USD cents and converted to EUR or GBP only for display.
Which Angular and Tailwind versions does it need?
Angular 21 or 22 with standalone components and signals, and Tailwind CSS 4. The download is a complete Angular project: npm install && npm start .
Is it accessible?
The storefront home page is scanned with axe in light and dark mode, and npm run a11y:wide scans every static route. Form fields are labelled, icon-only buttons carry an aria-label , and the command palette opens from the keyboard with ⌘K or Ctrl+K.
What license covers it?
The Store template is part of Styloviz Pro. A Pro license covers the template and the Pro packages it imports, including use in client projects.
Looking for something else? See every template