A Delphi and Lazarus visual component for displaying formatted text using HTML-like tags in labels.
DzHTMLText is a visual component for Delphi and Lazarus that enables developers to display formatted text in labels using HTML-like tags. It solves the problem of rendering rich text—such as bold, italics, links, images, and complex layouts—within native application interfaces without relying on external web engines. The component supports cross-platform development across Windows, Android, iOS, macOS, and Linux.
Delphi and Lazarus developers building desktop or mobile applications who need to display dynamically formatted text, interactive labels, or complex text-based UIs without embedding a full browser control.
Developers choose DzHTMLText for its native performance, extensive tag support, and seamless integration with Delphi and Lazarus IDEs. It offers a lightweight alternative to web views, with precise control over text rendering, DPI-aware scaling, and compatibility with both VCL and FMX frameworks.
Delphi and Lazarus HTML Label component
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports over 20 HTML-like tags for formatting, layout, and interactivity, including divs, links, images, and spoilers, enabling complex text UIs without embedding a web view.
Works on Win32, Win64, Android, iOS, macOS, and Linux with both VCL and FMX frameworks, as highlighted in the README's platform badges and installation notes.
Regular updates are documented, with recent fixes for DPI scaling and platform-specific issues (e.g., Android line breaks in version 6.13), showing ongoing developer commitment.
Automatically adjusts measurements for different screen DPIs in VCL and FMX, ensuring consistent appearance across high-resolution displays without manual tweaks.
The README warns of multiple breaking changes (e.g., property renames in version 5.0 and tag removals), requiring manual DFM edits and increasing maintenance overhead for existing projects.
Installation involves managing library paths and packages, and the custom HTML-like syntax has specific rules (e.g., tag hierarchy) that can lead to hard-to-debug errors, with design-time red borders as the only visual cue.
In FMX environments, features like ImageList integration are only available from Delphi XE8, and AutoOpenLink doesn't work on iOS and macOS, restricting functionality on key mobile platforms.