macOS-style icon dock navigation component.
Provides two components:
dock/1— icon dock container with orientation and variant optionsdock_item/1— icon button with hover tooltip and scale animation
Summary
Functions
Attributes
class(:string) - Defaults tonil.orientation(:atom) - Defaults to:horizontal. Must be one of:horizontal, or:vertical.position(:atom) - Defaults to:bottom. Must be one of:bottom,:top,:left,:right, or:inline.variant(:atom) - Defaults to:default. Must be one of:default,:glass, or:bordered.- Global attributes are accepted.
Slots
inner_block(required)
Attributes
active(:boolean) - Defaults tofalse.href(:string) - Defaults tonil.on_click(:string) - Defaults tonil.label(:string) (required)disabled(:boolean) - Defaults tofalse.class(:string) - Defaults tonil.- Global attributes are accepted.
Slots
icon(required)badge