Home
Comic hero, guarantees, shop by character, best sellers, universes, pre-order countdown, gift finder by age, new arrivals and collector club.
src/pages/index.astro 1 GitHub star = 1 new component. We’re at 0 stars — help us unlock the next one.
A comic-book toy store for action figures and collectibles, with shop-by-character filters, character pages and a gift finder by age.
Kapow is the third e-commerce template, built for toy shops selling action figures, vehicles, playsets and collector editions. Every product knows which characters it features, so shoppers can tap a hero or villain in the avatar rail — or combine character, universe, age group, scale, type and price in the sidebar — and the grid filters instantly with a shareable URL. Each character gets a roster card and a profile page with art, quote, bio and power levels plus all of their figures. Product pages add a figure file with scale, articulation, what is in the box and a safety warning. The look is a bold comic "toy box": thick ink outlines, hard shadows, halftone panels and Russo One type, in light and dark. It reuses the e-commerce kit — header, cart drawer, filters, toolbar, gallery, buy box, checkout and order summary — so the cart, promo codes and checkout work exactly like the other stores.
Every page is a real, interactive preview: links, forms and state work across pages.
Comic hero, guarantees, shop by character, best sellers, universes, pre-order countdown, gift finder by age, new arrivals and collector club.
src/pages/index.astro Character avatar rail, sidebar facets (type, character, universe, age, scale, price, rating, stock), sort and live count — all in the URL.
src/pages/shop.astro Trading-card roster with hero / villain and universe filters, universe tiles and gift finder.
src/pages/characters/index.astro Comic panel, quote, bio and power levels, every figure of the character, allies and rivals.
src/pages/characters/[id].astro Gallery, buy box with stock urgency, meet the character, figure file with articulation and what is in the box, reviews and related figures.
src/pages/product/[slug].astro Focus-mode checkout with steps, delivery, shipping, payment and a live order summary (try code KAPOW10).
src/pages/checkout.astro npm install astro-component-kit npm install astro-component-kit src/pages/index.astro
---
import { ToyHomePage } from 'astro-component-kit/templates/toy-store';
---
<ToyHomePage /> ---
import { ToyHomePage } from 'astro-component-kit/templates/toy-store';
---
<ToyHomePage /> src/pages/shop.astro
---
import { ToyShopPage } from 'astro-component-kit/templates/toy-store';
---
<!-- Shareable filters: /shop/?character=vex,raikou&age=kids&scale=6in&max=25 -->
<ToyShopPage /> ---
import { ToyShopPage } from 'astro-component-kit/templates/toy-store';
---
<!-- Shareable filters: /shop/?character=vex,raikou&age=kids&scale=6in&max=25 -->
<ToyShopPage /> src/pages/characters/index.astro
---
import { ToyCharactersPage } from 'astro-component-kit/templates/toy-store';
---
<ToyCharactersPage /> ---
import { ToyCharactersPage } from 'astro-component-kit/templates/toy-store';
---
<ToyCharactersPage /> src/pages/characters/[id].astro
---
import { ToyCharacterPage, kapowStore } from 'astro-component-kit/templates/toy-store';
export function getStaticPaths() {
return kapowStore.characters.map((c) => ({ params: { id: c.id } }));
}
---
<ToyCharacterPage id={Astro.params.id} /> ---
import { ToyCharacterPage, kapowStore } from 'astro-component-kit/templates/toy-store';
export function getStaticPaths() {
return kapowStore.characters.map((c) => ({ params: { id: c.id } }));
}
---
<ToyCharacterPage id={Astro.params.id} /> src/pages/product/[slug].astro
---
import { ToyProductPage, kapowStore } from 'astro-component-kit/templates/toy-store';
export function getStaticPaths() {
return kapowStore.products.map((p) => ({ params: { slug: p.slug } }));
}
---
<ToyProductPage slug={Astro.params.slug} /> ---
import { ToyProductPage, kapowStore } from 'astro-component-kit/templates/toy-store';
export function getStaticPaths() {
return kapowStore.products.map((p) => ({ params: { slug: p.slug } }));
}
---
<ToyProductPage slug={Astro.params.slug} /> src/pages/checkout.astro
---
import { ToyCheckoutPage } from 'astro-component-kit/templates/toy-store';
---
<ToyCheckoutPage /> ---
import { ToyCheckoutPage } from 'astro-component-kit/templates/toy-store';
---
<ToyCheckoutPage /> Spread the demo store and replace what you need. Products accept a real image or one of 16 built-in illustrations.
---
// src/pages/index.astro — pass the same store + routes to every page
import { ToyHomePage, kapowStore, type ToyStore } from 'astro-component-kit/templates/toy-store';
const store: ToyStore = {
...kapowStore,
name: 'Hero Hangar',
currency: 'EUR',
locale: 'es-ES',
cartKey: 'hero-hangar-cart',
characters: [
{ id: 'nova', name: 'Nova', alias: 'Space ranger', universe: 'star-rangers', faction: 'hero', icon: 'figure', hue: 212,
bio: '…', powers: [{ label: 'Speed', value: 8 }] },
],
products: [
{ slug: 'nova-6in', name: 'Nova 6"', price: 24.99, category: 'figures',
characters: ['nova'], // ← powers the character filter and character pages
scale: '6in', height: '15 cm', articulation: 28, ageMin: 4,
accessories: ['Blaster', 'Stand'], image: '/toys/nova.webp' }, // or icon: 'figure'
],
};
---
<ToyHomePage
store={store}
theme="auto"
routes={{ home: '/', shop: '/shop/', characters: '/characters/', character: '/characters/', product: '/product/', checkout: '/checkout/' }}
/> ---
// src/pages/index.astro — pass the same store + routes to every page
import { ToyHomePage, kapowStore, type ToyStore } from 'astro-component-kit/templates/toy-store';
const store: ToyStore = {
...kapowStore,
name: 'Hero Hangar',
currency: 'EUR',
locale: 'es-ES',
cartKey: 'hero-hangar-cart',
characters: [
{ id: 'nova', name: 'Nova', alias: 'Space ranger', universe: 'star-rangers', faction: 'hero', icon: 'figure', hue: 212,
bio: '…', powers: [{ label: 'Speed', value: 8 }] },
],
products: [
{ slug: 'nova-6in', name: 'Nova 6"', price: 24.99, category: 'figures',
characters: ['nova'], // ← powers the character filter and character pages
scale: '6in', height: '15 cm', articulation: 28, ageMin: 4,
accessories: ['Blaster', 'Stand'], image: '/toys/nova.webp' }, // or icon: 'figure'
],
};
---
<ToyHomePage
store={store}
theme="auto"
routes={{ home: '/', shop: '/shop/', characters: '/characters/', character: '/characters/', product: '/product/', checkout: '/checkout/' }}
/> Full-width blocks of this template, available in Sections. Open any of them to see it on its own page with code.
Comic-book store hero: burst eyebrow, oversized headline with a highlighted word, CTAs and stats beside a halftone stage with the featured figure, a starburst price sticker and floating sidekick avatars.
Shop-by-character rail of round comic avatars. Links to character pages, or (filter mode) toggles a FilterSidebar character facet so the grid shows only that character's figures — multi-select, URL-synced.
Character roster as trading cards (avatar, alias, universe, hero / villain stamp, power meters, figure count) with instant side and universe filters and a live count.
Character profile header: comic panel with art, hero / villain stamp and speech-bubble quote, plus universe, name, alias, bio, power-level meters, facts and CTAs.
"Who is it for?" gift finder: colourful age-group tiles (range, name, description, toy count) that link to a pre-filtered catalogue, plus optional budget links.
"Figure file" for toy product pages: specs (scale, size, age, materials, batteries), articulation badge, "In the box" checklist and a small-parts safety warning.
Loyalty band for toy and collectibles stores: perks, an animated stamp card, membership tiers and a join form with inline validation.
Built for this template and available on their own in the library.
Trading-card product card for toys and collectibles: universe and scale strip, halftone panel, character, age and articulation chips, pre-order and limited-edition notes.
Responsive grid of Toy Figure Cards with an empty state; FilterSidebar facets (character, universe, scale, age) and sorting filter it instantly.
Existing components the template is assembled from.