Skip to main content

LinkOutput

Link output widget for displaying clickable hyperlinks.

Examples

Basic Usage

This example runs a form with a single page containing the widget

Example Code

from abstra.forms import LinkOutput, run

# Create a page with the widget
example_page = [
LinkOutput("https://abstra.io", link_text="Abstra Homepage"),
]

# Run the form
result = run([example_page])

# Print the result
print(result)

Parameters

NameDescriptionTypeDefault
link_url (required)The URL that the link points to.strNone
link_textThe visible text of the link.str'Click here'
same_tabWhether the link should open in the same tab.boolFalse
full_widthWhether the link should take up the full width of its container.boolFalse