Logo FluentUI

HyperlinkButton QML Type

A button styled as a hyperlink. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Detailed Description

HyperlinkButton displays text that looks and behaves like a clickable hyperlink. It provides a minimal visual style with hover feedback, suitable for inline navigation or action triggers where a traditional button appearance is undesired.

Usage Example

 import QtQuick
 import FluentUI.Controls

 HyperlinkButton {
     text: "Learn more"
     onClicked: console.log("Link clicked")
 }

Property Documentation

enabled : bool

Whether the hyperlink button is interactive. When false, the button appears grayed out and does not respond to clicks.

font : font

The font used for the hyperlink text. Allows customization of the font family, size, weight, and other font properties.

icon : var

An optional icon to display alongside the hyperlink text. If set, the icon appears before the text.

text : string

The text displayed as the hyperlink. This text appears styled with an underlined or highlighted appearance typical of hyperlinks.