API Hero
size: Size
component sizexs | sm | md | lg | xl | xxl
bg: Color
background colorinitial | primary | secondary | dark | darked | gray | light | success | warning | error
center: Boolean
text centertrue | false
The Hero container shows key featured content or important information.
<script>
import {Hero} from 'svelte-spectre'
</script>
<Hero bg="'dark' | 'gray'" center/>
This is a hero example