1. Components
  2. Hero

Components

Hero

Shows a simple hero headline for your app.

Basic Usage

Add your headline to the Hero.svelte component.

To import the component, use:

/src/routes/(marketing)/+page.svelte copy
        <script lang="ts">
    import Hero from "$lib/components/Hero.svelte";
  </script>

<main class="min-h-screen">
  <Hero />
</main>