1 GitHub star = 1 new component.

Full templates

Lumen · Online Academy & Studio

Online course platform with a filterable catalog, course pages, plans and a teaching application, plus a learner area with a lesson player and quizzes, and an instructor studio with analytics.

Complete template for an online academy, bootcamp or course marketplace. 9 page types: home with search, learning paths, featured courses, instructors, reviews and plans; filterable catalog; course page with enrolment card and syllabus accordion; plans with monthly/yearly billing and FAQ; instructor application; plus sign-in, a learner dashboard (weekly goal, streak, courses in progress), a lesson player with outline, notes and a quiz, and an instructor studio with KPIs, a 12-month chart and a course manager.

9 pages 9 components 10 sections 0 deps

Live preview

Pages

Every page is a real, interactive preview: links, forms and state work across pages.

Home

Hero with course search, learning paths, featured courses, instructors, reviews and plans.

src/pages/index.astro

Catalog

Filterable catalog with search, category chips, level and sorting; reads ?q= and ?cat=.

src/pages/cursos/index.astro

Course page

Header with enrolment card, syllabus accordion, instructor, reviews and related courses.

src/pages/cursos/[slug].astro

Plans

Subscription plans with monthly/yearly billing and billing FAQ.

src/pages/precios.astro

Teach

Instructor application form and the current teaching team.

src/pages/ensena.astro

Sign in

Split sign-in for learners and instructors with a testimonial and figures.

src/pages/acceso.astro

My learning

Weekly goal, study streak and courses in progress.

src/pages/aula/index.astro

Course player

Lesson player with outline, progress, notes saved per lesson and a quiz.

src/pages/aula/clase.astro

Instructor studio

Revenue and enrolment KPIs, 12-month chart and a course manager table.

src/pages/aula/estudio.astro

What is included

  • Catalog that filters by search, category, level and sorting, and opens pre-filtered from the hero and category cards
  • Course page with a sticky enrolment card, discount and a syllabus accordion with free previews
  • Lesson player with scrubber, speed, per-lesson completion, progress and notes saved in the browser
  • Learner dashboard with weekly-goal ring, streak week and per-course progress in plain SVG
  • Instructor studio with KPIs, a metric-switch bar chart (with a data table) and a sortable course manager

Install & use

  1. Install the package

    bash
    npm install astro-component-kit
    npm install astro-component-kit
  2. Create one Astro page per template page

    src/pages/index.astro

    astro
    ---
    import { AcademyHomePage } from 'astro-component-kit/templates/academy';
    ---
    
    <AcademyHomePage />
    --- import { AcademyHomePage } from 'astro-component-kit/templates/academy'; --- <AcademyHomePage />

    src/pages/cursos/index.astro

    astro
    ---
    import { AcademyCoursesPage } from 'astro-component-kit/templates/academy';
    ---
    
    <AcademyCoursesPage />
    --- import { AcademyCoursesPage } from 'astro-component-kit/templates/academy'; --- <AcademyCoursesPage />

    src/pages/cursos/[slug].astro

    astro
    ---
    import { AcademyCoursePage } from 'astro-component-kit/templates/academy';
    export function getStaticPaths() {
      return [{ params: { slug: 'diseno-de-interfaces-desde-cero' } }]; // one per course slug
    }
    ---
    
    <AcademyCoursePage slug={Astro.params.slug} />
    --- import { AcademyCoursePage } from 'astro-component-kit/templates/academy'; export function getStaticPaths() { return [{ params: { slug: 'diseno-de-interfaces-desde-cero' } }]; // one per course slug } --- <AcademyCoursePage slug={Astro.params.slug} />

    src/pages/precios.astro

    astro
    ---
    import { AcademyPricingPage } from 'astro-component-kit/templates/academy';
    ---
    
    <AcademyPricingPage />
    --- import { AcademyPricingPage } from 'astro-component-kit/templates/academy'; --- <AcademyPricingPage />

    src/pages/ensena.astro

    astro
    ---
    import { AcademyTeachPage } from 'astro-component-kit/templates/academy';
    ---
    
    <AcademyTeachPage action="/api/teach" />
    --- import { AcademyTeachPage } from 'astro-component-kit/templates/academy'; --- <AcademyTeachPage action="/api/teach" />

    src/pages/acceso.astro

    astro
    ---
    import { AcademySignInPage } from 'astro-component-kit/templates/academy';
    ---
    
    <AcademySignInPage />
    --- import { AcademySignInPage } from 'astro-component-kit/templates/academy'; --- <AcademySignInPage />

    src/pages/aula/index.astro

    astro
    ---
    import { AcademyDashboardPage } from 'astro-component-kit/templates/academy';
    ---
    
    <AcademyDashboardPage />
    --- import { AcademyDashboardPage } from 'astro-component-kit/templates/academy'; --- <AcademyDashboardPage />

    src/pages/aula/clase.astro

    astro
    ---
    import { AcademyPlayerPage } from 'astro-component-kit/templates/academy';
    ---
    
    <AcademyPlayerPage />
    --- import { AcademyPlayerPage } from 'astro-component-kit/templates/academy'; --- <AcademyPlayerPage />

    src/pages/aula/estudio.astro

    astro
    ---
    import { AcademyStudioPage } from 'astro-component-kit/templates/academy';
    ---
    
    <AcademyStudioPage />
    --- import { AcademyStudioPage } from 'astro-component-kit/templates/academy'; --- <AcademyStudioPage />
  3. Use your own catalogue, currency and routes

    Spread the demo store and replace what you need. Products accept a real image or one of 16 built-in illustrations.

    astro
    ---
    // Pass your own data and routes to every page (e.g. from your LMS)
    import { AcademyHomePage, academyData, academyRoutes } from 'astro-component-kit/templates/academy';
    
    const data = {
      ...academyData,
      brand: { ...academyData.brand, name: 'Aula Norte', phone: '+34 900 000 000' },
      courses: await fetch('https://api.example.com/courses').then((r) => r.json()),
    };
    
    const routes = { ...academyRoutes, courses: '/catalog', pricing: '/plans' };
    ---
    
    <AcademyHomePage data={data} routes={routes} />
    --- // Pass your own data and routes to every page (e.g. from your LMS) import { AcademyHomePage, academyData, academyRoutes } from 'astro-component-kit/templates/academy'; const data = { ...academyData, brand: { ...academyData.brand, name: 'Aula Norte', phone: '+34 900 000 000' }, courses: await fetch('https://api.example.com/courses').then((r) => r.json()), }; const routes = { ...academyRoutes, courses: '/catalog', pricing: '/plans' }; --- <AcademyHomePage data={data} routes={routes} />

New sections 10

Full-width blocks of this template, available in Sections. Open any of them to see it on its own page with code.

Section

Academy Hero

Online academy hero with a serif headline, course search with popular topics, learner figures and a featured-course card over an amber lamp glow.

Section

Academy Tracks

Learning-path cards per area with icon, description and course count; each links to the catalog filtered by that category.

Section

Academy Course Grid

Course catalog with search, category chips, level filter and sorting. Reads ?q= and ?cat= from the URL and announces the result count.

Section

Academy Course Hero

Course page header: breadcrumbs, rating and meta line, teacher, what you will learn and a sticky enrolment card with price, discount and what is included.

Section

Academy Curriculum

Course syllabus as an accordion of modules with lesson type, duration, free-preview badges and expand/collapse all.

Section

Academy Pricing Plans

Subscription plans with a monthly / yearly switch that updates prices, the yearly total and the saving.

Section

Academy Instructors

Teaching team cards with initials portrait, role, short bio and students, courses and rating figures.

Section

Academy Reviews

Student outcomes: a large rating summary and review cards with stars, quote, author, role and the course taken.

Section

Academy Teach Form

Instructor application: benefits list beside a validated form that posts to your backend or shows an on-page confirmation.

Section

Academy Footer

Academy footer with a call-to-action band, link columns, contact details and a legal row.

New e-commerce components 9

Built for this template and available on their own in the library.

Component

Academy Lesson Player

Course player: lesson stage with play / pause, scrubber and speed, previous / next, mark as complete, outline with per-lesson checks, overall progress and personal notes saved in the browser.

Component

Academy Progress Board

Learner home: weekly-goal ring, study-streak week with minutes per day and continue-learning cards with progress per course. Plain SVG and CSS.

Component

Academy Quiz

Multiple-choice quiz: one question at a time, instant feedback with explanation, final score with pass mark and retry.

Component

Academy Studio Stats

Instructor studio overview: four KPI tiles with change vs. last month and a 12-month revenue / enrolments bar chart with a metric switch and a data table for screen readers.

Component

Academy Courses Table

Instructor course manager: search, status chips, sorting by students, rating, completion and revenue, text status badges and an edit link per course.

Component

Academy Area Topbar

Top bar for the learner area with today’s date, study-streak chip, theme toggle, notifications and user menu (native popovers).

Component

Academy Area Heading

Serif page heading for the learner / instructor area with kicker, description, back link and action buttons.

Component

Academy Sign In

Split sign-in with an illustrated lamp panel, learner / instructor switch, password show/hide and demo quick-access links.

Reused library components

Existing components the template is assembled from.