ui/link

Types

pub type Size {
  Small
  Medium
  Large
}

Constructors

  • Small
  • Medium
  • Large
pub type Underline {
  Hover
  Always
  Never
}

Constructors

  • Hover
  • Always
  • Never
pub type Variant {
  Default
  Muted
}

Constructors

  • Default
  • Muted

Values

pub fn icon() -> attribute.Attribute(a)
pub fn link(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn size(s: Size) -> attribute.Attribute(a)
Search Document