View Source ZoonkWeb.Components.Link (Zoonk v0.2.0-alpha)
Link components.
Link to this section Summary
Functions
Renders a link but styled like a button.
Renders a styled link using our default style guide.
Link to this section Functions
Renders a link but styled like a button.
attributes
Attributes
color
(:atom
) - Defaults to:black
.class
(:string
) - Defaults tonil
.icon
(:string
) - Defaults tonil
.- Global attributes are accepted.
slots
Slots
inner_block
Renders a styled link using our default style guide.
attributes
Attributes
color
(:atom
) - the color of the link. Defaults to:primary
.class
(:string
) - the optional additional classes to add to the header element. Defaults tonil
.- Global attributes are accepted.
slots
Slots
inner_block
(required)