Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.

svg

This block is part of the state ui group and was last modified in core v13.0.7.

svg v13.0.7

A SVG element.

In pins 6
  • content state required

    Integrates content or data from other elements.

  • viewbox value required

    The viewbox of the SVG element.

  • XLMNS value

    The XML namespace of the SVG element.

    Default http://www.w3.org/2000/svg

  • class uiclass

    Assigns a CSS class to the element. • Hidden when unused

  • style uistyle

    Applies inline CSS style to the element • Hidden when unused

  • attributes uiattributes

    Adds custom attributes to the element. • Hidden when unused

Out pins 1
  • state state

    Returns the element to the frontend state.

svg

A typical wiring for SVG: value feeds the viewbox pin; the state out pin feeds get component child.

Studio canvas example for the SVG block: typical wiring for SVG.

Version history

Introduced in v13.0.7.


Back to state ui Return to the main group to view all sub-groups Back to state elements Return to the group to view all blocks within this group