Themed link with size, weight, and underline options.
Summary
Functions
Renders a link.
Functions
Renders a link.
Phoenix LiveView navigation is supported via navigate / patch
(implemented with Phoenix.Component.link/1).
Attributes
href(:string) - The link href. Only for <a> elements. Defaults tonil.navigate(:string) - LiveView navigate path (client-side navigation). Defaults tonil.patch(:string) - LiveView patch path (same LiveView). Defaults tonil.target(:string) - Target attribute for <a> elements. Defaults tonil.rel(:string) - Rel attribute for <a> elements. Defaults tonil.underline(:string) - Underline style: auto, always, hover, none. Defaults to"auto". Must be one of"auto","always","hover", or"none".color(:string) - Color utility class string. One of: gray, gold, bronze, brown, yellow, amber, orange, tomato, red, ruby, crimson, pink, plum, purple, violet, iris, indigo, blue, cyan, teal, jade, green, grass, lime, mint, sky. Must be one of"gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","lime","mint", or"sky".high_contrast(:boolean) - Whether to increase color contrast with the background.as_child(:boolean) - Composes the component into its immediate child instead of rendering its own HTML element. Defaults tofalse.class(:string) - Additional CSS classes. Defaults tonil.style(:string) - Additional inline styles. Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required)