@@ -1115,8 +1115,6 @@ def nav_menu(
11151115# Value boxes
11161116# ======================================================================================
11171117def value_box (
1118- title : TagChild ,
1119- value : TagChild ,
11201118 * ,
11211119 showcase : Optional [TagChild ] = None ,
11221120 showcase_layout : ui ._valuebox .SHOWCASE_LAYOUTS_STR
@@ -1134,16 +1132,14 @@ def value_box(
11341132
11351133 This function wraps :func:`~shiny.ui.value_box`.
11361134
1137- An opinionated (:func:`~shiny.ui.card`-powered) box, designed for
1138- displaying a `value` and `title`. Optionally, a `showcase` can provide for context
1139- for what the `value` represents (for example, it could hold an icon, or even a
1135+ An opinionated (:func:`~shiny.ui.card`-powered) box, designed for displaying a title
1136+ (the 1st child), value (the 2nd child), and other explanation text (other children,
1137+ if any). Optionally, a `showcase` can provide for context for what the `value`
1138+ represents (for example, it could hold an icon, or even a
11401139 :func:`~shiny.ui.output_plot`).
11411140
11421141 Parameters
11431142 ----------
1144- title,value
1145- A string, number, or :class:`~htmltools.Tag` child to display as
1146- the title or value of the value box. The `title` appears above the `value`.
11471143 showcase
11481144 A :class:`~htmltools.Tag` child to showcase (e.g., an icon, a
11491145 :func:`~shiny.ui.output_plot`, etc).
@@ -1184,7 +1180,6 @@ def value_box(
11841180 """
11851181 return RecallContextManager (
11861182 ui .value_box ,
1187- args = (title , value ),
11881183 kwargs = dict (
11891184 showcase = showcase ,
11901185 showcase_layout = showcase_layout ,
0 commit comments