Heros — Course

Course-landing hero with enrollment stats and a live-lesson card.

bun x bosia@latest add block heros/course

Course-landing hero with enrollment stats and a live-lesson card. A self-contained, full-width <section> built from semantic tokens only, so it restyles across all 18 themes — the brand colour maps to --primary.

Preview

B
Brand
New cohort · Starts April 8

Learn to design products people actually use.

A 6-week, project-based program with live critiques, a real portfolio piece, and mentors from teams you admire.

12k+
Graduates
4.9
Avg. rating
92%
Land a role
Class
Week 3 Live
Prototyping & user testing
240 learning now

Install

bun x bosia@latest add block heros/course

Pulls the @lucide/svelte npm package for icons.

Usage

<script lang="ts">
	import Course from "$lib/blocks/heros/course/block.svelte";
</script>

<Course />

Drop it at the top of a route. Any interactive bits (size / color / age pickers, address or email inputs) are cosmetic local $state — wire them to your own data. Edit block.svelte to swap copy and the Unsplash images.

Source

src/lib/blocks/heros/course/block.svelte