ctrl + k
On This Page
API Sections
> Templating API Reference
The Semantic UI Templating system provides a powerful and flexible way to define the structure and behavior of web components. It compiles template strings into an Abstract Syntax Tree (AST), enabling efficient rendering and updates. The templating system supports both single {}
and double {{}}
bracket syntax, and integrates deeply with the Semantic UI component framework.
Template Helpers - Template Helpers, which provide utility functions for use within templates, are documented in a separate section. See the Template Helpers API Reference for a comprehensive list of all available helper functions.
API Sections
- TemplateCompiler - Methods for precompiling templates to an AST for SSR, or some advanced use cases.
- Abstract Syntax Tree - An explanation of template abstract syntax trees and permitted syntaxes.
- Template - Methods for manipulating a compiled template.
- StringScanner - Internal utility library for scanning and parsing strings during template compilation