View Source SaladUI.HoverCard (SaladUI v0.13.1)
Implement hover card component
Usage
<.hover_card>
<.hover_card_trigger>
<.button variant="link">
@salad_ui
</.button>
</.hover_card_trigger>
<.hover_card_content>
Hover card content
</.hover_card_content>
</.hover_card>
Summary
Functions
Render hover card wrapper
Attributes
class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
(required)
Render hover card content
Attributes
class
(:string
) - Defaults tonil
.side
(:string
) - Defaults to"top"
.align
(:string
) - Defaults to"center"
.- Global attributes are accepted.
Slots
inner_block
(required)
Render hover card trigger
Attributes
class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
(required)