Build a modern card component with optional header, body, and footer
Small helper to render the page pretitle element used by Tabler examples
Small helper to render the page title element used by Tabler examples
Create the full page header structure with pretitle and title
Display a key metric or value prominently
Display an icon from Tabler Icons or other icon libraries
Display important messages to users
Create interactive buttons with Tabler styling
card(..., title = NULL, footer = NULL, status = NULL, class = NULL)pre_title(text)
title(text)
page_header(title_text, pretitle_text = NULL, ...)
value_box(value, title, icon = NULL, color = "primary", width = 3)
icon(name, library = "tabler", class = NULL)
alert(..., type = "info", dismissible = FALSE, title = NULL)
button(
label,
href = NULL,
onclick = NULL,
color = "primary",
size = "md",
outline = FALSE,
icon = NULL,
icon_right = FALSE,
disabled = FALSE,
block = FALSE,
pill = FALSE,
square = FALSE,
loading = FALSE,
class = NULL,
type = "button",
...
)
An HTML tag representing the card
An HTML tag representing the value box
An HTML tag representing the icon
An HTML tag representing the alert
An HTML tag representing the button
Additional HTML attributes
Alert title (optional)
Card footer content (optional)
Card color status: "primary", "secondary", "success", "warning", "danger", etc.
Additional CSS classes
The title text to display
The main title text
The pretitle text (optional)
Main value to display
Icon to include
Button color theme
Column width (1-12)
Icon name
Icon library: "tabler", "bootstrap", "feather"
HTML button type attribute
Whether alert can be dismissed
Button text
URL to link to (creates an anchor tag instead of button)
JavaScript to execute on click
Button size: "sm", "md", "lg"
Use outline style
Position icon on the right side
Whether the button is disabled
Make button full-width (block-level)
Use pill-shaped button style
Use square button style
Show loading spinner