Hero

Hero

Attribute Type Documentation Default Value
class :string CSS class for the hero component ""
Required inner_block * :slot Main content block of the hero component
Hero
subtitle :slot Subtitle content block
actions :slot Action buttons or links
<:actions><button class="border px-4 py-1 bg-black text-white rounded text-lg" phx-click="go">Go</button></:actions>