W3 SVG namespace URI
Name of element
Optional props: null | SVGElementProps<T>Element properties, such as class, id, style, etc
Rest ...children: ChildrenTypeChildren of this element. Can be nothing, number, string, boolean, bigint, or more elements. An array will create multiple, flattened children.
SVG element
Use createElement("svg:tagname") instead
Creates an XHTML element
W3 XHTML namespace URI
Name of element
Optional props: null | XHTMLElementProps<T>Element properties, such as class, id, style, etc
Rest ...children: ChildrenTypeChildren of this element. Can be nothing, number, string, boolean, bigint, or more elements. An array will create multiple, flattened children.
XHTML element
Use createElement("xhtml:tagname") instead
Creates an MathML element
W3 MathML namespace URI
Name of element
Optional props: null | ElementPropsElement properties, such as class, id, style, etc
Rest ...children: ChildrenTypeChildren of this element. Can be nothing, number, string, boolean, bigint, or more elements. An array will create multiple, flattened children.
MathML element
Use createElement("mathML:tagname") instead
Creates a namespaced Element. This is the most general overload that allows for any arbitrary
string to be passed in to the namespaceURI param.
W3 namespace URI
Name of element
Optional props: null | ElementPropsElement properties, such as class, id, style, etc
Rest ...children: ChildrenTypeChildren of this element. Can be nothing, number, string, boolean, bigint, or more elements. An array will create multiple, flattened children.
Element
Use createElement("xml|xlink|xmlns:tagname") instead
Creates a namespaced Element. This is the most general overload that allows for any arbitrary
string to be passed in to the namespaceURI param.
W3 namespace URI
Name of element
Optional props: null | ElementPropsElement properties, such as class, id, style, etc
Rest ...children: ChildrenTypeChildren of this element. Can be nothing, number, string, boolean, bigint, or more elements. An array will create multiple, flattened children.
Element
Creates a namespaced Element. This is the most general overload that allows for any arbitrary
string to be passed in to the namespaceURI param.
W3 namespace URI
Name of element
Optional props: null | (T extends "http://www.w3.org/2000/svg"Element properties, such as class, id, style, etc
Rest ...children: ChildrenTypeChildren of this element. Can be nothing, number, string, boolean, bigint, or more elements. An array will create multiple, flattened children.
Element
Generated using TypeDoc
Creates an SVG Element