fd_button: Button for Foundation UI

Description Usage Arguments Source

Description

Creates a button that either is a link or performs an action when clicked.

Usage

1
2
3
fd_action_button(id, label, class = NULL, disabled = FALSE, ...)

fd_link_button(id, label, link, class = NULL, ...)

Arguments

id

The input slot that will be used to access the value.

label

The contents of the button or link.

class

Additional styles to add to the class. This can include (but not limited to):

expanded

The button takes up the full available width.

tiny, small, large

Changes the size of the button.

primary, secondary, success, alert, warning

Changes the colour of the button.

hollow

Turns the button to a hollow/non-block colour style.

clear

Turns the button to a clear style, almost like a link with padding.

disabled

Logical. Should the button be disabled?

...

Named attributes to be applied to the button

link

The URL/path to direct the user to.

Source

https://foundation.zurb.com/sites/docs/button.html


ashbaldry/shinyfoundation documentation built on Nov. 3, 2019, 1:57 p.m.