react_gleam/element

Types

pub external type Element

Functions

pub fn a(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn abbr(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn address(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn area(attributes: List(Attribute(a, b))) -> Element
pub fn article(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn aside(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn audio(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn b(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn base(attributes: List(Attribute(a, b))) -> Element
pub fn bdi(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn bdo(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn blockquote(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn body(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn br(attributes: List(Attribute(a, b))) -> Element
pub fn button(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn canvas(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn caption(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn cite(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn code(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn col(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn colgroup(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn datalist(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn dd(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn del(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn details(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn dfn(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn dialog(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn div(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn dl(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn dt(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn em(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn embed(attributes: List(Attribute(a, b))) -> Element
pub fn fieldset(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn figcaption(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn figure(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn footer(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn form(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn h1(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn h2(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn h3(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn h4(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn h5(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn h6(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn head(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn header(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn hr(attributes: List(Attribute(a, b))) -> Element
pub fn html(attributes: List(Attribute(a, b)), head: Element, body: Element) -> Element
pub fn i(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn iframe(attributes: List(Attribute(a, b))) -> Element
pub fn img(attributes: List(Attribute(a, b))) -> Element
pub fn input(attributes: List(Attribute(a, b))) -> Element
pub fn ins(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn kbd(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn label(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn legend(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn li(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn main(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn map_(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn mark(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn mathml(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn menu(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn meta(attributes: List(Attribute(a, b))) -> Element
pub fn meter(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn nav(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub external fn node(
  tag: String,
  attributes: List(Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn noscript(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn object(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn ol(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn optgroup(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn option(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn output(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn p(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn param(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn picture(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn portal(attributes: List(Attribute(a, b))) -> Element
pub fn pre(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn progress(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn rp(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn rt(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn ruby(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn s(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn samp(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn section(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn select(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn slot(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn small(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn source(attributes: List(Attribute(a, b))) -> Element
pub fn span(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn strong(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn style(attributes: List(Attribute(a, b)), css: String) -> Element
pub fn sub(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn summary(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn sup(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn svg(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn table(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn tbody(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn td(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn template(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub external fn text(content: String) -> Element

Render a Gleam string as an HTML text node.

pub fn textarea(attributes: List(Attribute(a, b))) -> Element
pub fn tfoot(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn th(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn thead(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn time(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn title(attributes: List(Attribute(a, b)), name: String) -> Element
pub fn tr(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn track(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn u(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn ul(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn var_(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn video(attributes: List(Attribute(a, b)), children: List(
    Element,
  )) -> Element
pub fn wbr(attributes: List(Attribute(a, b))) -> Element
Search Document