lustre/ui/card

Functions

pub fn background(value: String) -> Attribute(a)
pub fn border(value: String) -> Attribute(a)
pub fn border_width(value: String) -> Attribute(a)
pub fn card(
  attributes: List(Attribute(a)),
  children: List(Element(a)),
) -> Element(a)
pub fn content(
  attributes: List(Attribute(a)),
  children: List(Element(a)),
) -> Element(a)
pub fn footer(
  attributes: List(Attribute(a)),
  children: List(Element(a)),
) -> Element(a)
pub fn header(
  attributes: List(Attribute(a)),
  children: List(Element(a)),
) -> Element(a)
pub fn of(
  element: fn(List(Attribute(a)), List(Element(a))) -> Element(a),
  attributes: List(Attribute(a)),
  children: List(Element(a)),
) -> Element(a)
pub fn padding(x: String, y: String) -> Attribute(a)
pub fn padding_x(value: String) -> Attribute(a)
pub fn padding_y(value: String) -> Attribute(a)
pub fn radius(value: String) -> Attribute(a)
pub fn round() -> Attribute(a)
pub fn square() -> Attribute(a)
Search Document