input_link: Link input

View source: R/input-link.R

input_linkR Documentation

Description

A button-like input, clickable text. Link inputs include a unique stretch feature. With stretch = TRUE a link input will detect clicks on its parent container. For example, a ⁠[bslib::card]⁠ may become clickable.

Usage

input_link(id, label, ..., stretch = FALSE, icon = NULL)

update_link(id, label = NULL, session = get_current_session())

Arguments

id

A character string. The id of the reactive input.

label

A character string. The placement of a label relative to its checkbox.

...

Optional named arguments specifying HTML attributes for the input element.

stretch

A boolean.

icon

A ⁠[bsicons::bs_icon]⁠.

session

A shiny session object.


nteetor/dull documentation built on July 4, 2025, 8:52 a.m.