Home
Hero with today's classes, disciplines, live occupancy, plans, coaches and trial form.
src/pages/index.astro 1 GitHub star = 1 new component. We’re at 0 stars — help us unlock the next one.
Gym site with weekly timetable, plans and free trial, plus a member area with class booking and progress, and a staff view with members and occupancy.
Complete template for a gym, box or fitness studio. 9 page types: home with today's classes, disciplines, live occupancy, plans, coaches and trial form; weekly timetable with day tabs and filters; plans with monthly/yearly billing and FAQ; coaches; free-trial pass; plus member sign-in, a progress dashboard (goal, streak, sessions, records, weight), class booking with waitlist, and a staff view with membership KPIs, occupancy and a members table.
Every page is a real, interactive preview: links, forms and state work across pages.
Hero with today's classes, disciplines, live occupancy, plans, coaches and trial form.
src/pages/index.astro Weekly timetable with day tabs, discipline filters and booking links, plus what each class is.
src/pages/clases.astro Free-trial sign-up that returns a 7-day pass with an access code; club address and hours.
src/pages/prueba-gratis.astro Split sign-in for members and staff with a testimonial and club figures.
src/pages/acceso.astro Goal, streak, weekly sessions, records, weight, upcoming classes and occupancy.
src/pages/socios/index.astro Pick a day, book, cancel or join the waitlist; my bookings update live.
src/pages/socios/reservar.astro Membership KPIs, live occupancy and a searchable members table.
src/pages/socios/staff.astro npm install astro-component-kit npm install astro-component-kit src/pages/index.astro
---
import { GymHomePage } from 'astro-component-kit/templates/gym';
---
<GymHomePage /> ---
import { GymHomePage } from 'astro-component-kit/templates/gym';
---
<GymHomePage /> src/pages/clases.astro
---
import { GymClassesPage } from 'astro-component-kit/templates/gym';
---
<GymClassesPage /> ---
import { GymClassesPage } from 'astro-component-kit/templates/gym';
---
<GymClassesPage /> src/pages/tarifas.astro
---
import { GymPlansPage } from 'astro-component-kit/templates/gym';
---
<GymPlansPage /> ---
import { GymPlansPage } from 'astro-component-kit/templates/gym';
---
<GymPlansPage /> src/pages/entrenadores.astro
---
import { GymTrainersPage } from 'astro-component-kit/templates/gym';
---
<GymTrainersPage /> ---
import { GymTrainersPage } from 'astro-component-kit/templates/gym';
---
<GymTrainersPage /> src/pages/prueba-gratis.astro
---
import { GymTrialPage } from 'astro-component-kit/templates/gym';
---
<GymTrialPage action="/api/trial" /> ---
import { GymTrialPage } from 'astro-component-kit/templates/gym';
---
<GymTrialPage action="/api/trial" /> src/pages/acceso.astro
---
import { GymSignInPage } from 'astro-component-kit/templates/gym';
---
<GymSignInPage /> ---
import { GymSignInPage } from 'astro-component-kit/templates/gym';
---
<GymSignInPage /> src/pages/socios/index.astro
---
import { GymDashboardPage } from 'astro-component-kit/templates/gym';
---
<GymDashboardPage /> ---
import { GymDashboardPage } from 'astro-component-kit/templates/gym';
---
<GymDashboardPage /> src/pages/socios/reservar.astro
---
import { GymBookingPage } from 'astro-component-kit/templates/gym';
---
<GymBookingPage /> ---
import { GymBookingPage } from 'astro-component-kit/templates/gym';
---
<GymBookingPage /> src/pages/socios/staff.astro
---
import { GymMembersPage } from 'astro-component-kit/templates/gym';
---
<GymMembersPage /> ---
import { GymMembersPage } from 'astro-component-kit/templates/gym';
---
<GymMembersPage /> Spread the demo store and replace what you need. Products accept a real image or one of 16 built-in illustrations.
---
// Pass your own data and routes to every page (e.g. from your booking system)
import { GymHomePage, gymData, gymRoutes } from 'astro-component-kit/templates/gym';
const data = {
...gymData,
brand: { ...gymData.brand, name: 'Iron Hall', phone: '+34 900 000 000' },
classes: await fetch('https://api.example.com/classes').then((r) => r.json()),
};
const routes = { ...gymRoutes, classes: '/timetable', trial: '/free-trial' };
---
<GymHomePage data={data} routes={routes} /> ---
// Pass your own data and routes to every page (e.g. from your booking system)
import { GymHomePage, gymData, gymRoutes } from 'astro-component-kit/templates/gym';
const data = {
...gymData,
brand: { ...gymData.brand, name: 'Iron Hall', phone: '+34 900 000 000' },
classes: await fetch('https://api.example.com/classes').then((r) => r.json()),
};
const routes = { ...gymRoutes, classes: '/timetable', trial: '/free-trial' };
---
<GymHomePage data={data} routes={routes} /> Full-width blocks of this template, available in Sections. Open any of them to see it on its own page with code.
Bold gym hero with free-trial and schedule CTAs, club figures and a card with the next classes of the day and spots left.
Class type cards with duration, approximate kcal and an intensity meter; each links to the schedule filtered by that discipline.
Weekly class timetable with accessible day tabs, discipline filter chips, level, trainer, room, spots left and booking links. Opens on today.
Membership pricing with a monthly/yearly switch that updates prices, the yearly total and the saving per year.
Coaching team cards with initials portrait, specialty, years, certifications, the classes they teach and a quote.
Free-trial sign-up with club details; on submit it shows a 7-day pass with an access code and validity dates. Pre-selects ?plan=.
Gym footer with a full-width free-trial call to action, opening hours table, link columns, contact and legal row.
Built for this template and available on their own in the library.
Member class booking: weekday picker, classes with capacity bars, book, cancel or join the waitlist, booking limit and a live "my bookings" list.
Member progress: monthly goal ring, weekly streak, sessions per week chart, personal records with change and a body-weight sparkline. SVG, no JavaScript.
Live club occupancy with a quiet/moderate/full level and the usual occupancy per hour, highlighting the current hour.
Gym member-area navigation: vertical rail with club mark and monthly goal on desktop, fixed bottom tab bar on phones. No JavaScript.
Gym member-area top bar with today’s date, live occupancy chip, check-in pass with access code, notifications and member menu (native popovers).
Bold uppercase page heading for the gym member area with kicker, description, back link and action buttons.
Staff members table: search, status and at-risk filters, sorting by visits, last visit and join date, 30-day activity bars and one-click reminders.
Gym sign-in screen with member/staff switch, member number or email, PIN with show/hide and demo quick-access buttons on a striped background.
Existing components the template is assembled from.