DaisyUIComponents.Hero (DaisyUIComponents v0.7.6)
View SourceHero component
Summary
Functions
Renders a hero component.
Attributes
class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
Attributes
class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
Functions
Renders a hero component.
Examples
<.hero>
<:content>
<h1 class="text-5xl font-bold">Hello there</h1>
</:content>
</.hero>
Attributes
class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
content
- Accepts attributes:class
(:any
)
overlay
- Accepts attributes:class
(:any
)
inner_block
Attributes
class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
Attributes
class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block