Change the color of action button in shiny

前端 未结 3 1010
感情败类
感情败类 2020-12-24 05:45

I am trying to change the color of the action button from gray to orange.

actionButton(\"run\",\"Run Analysis\")

(This is in server.R

3条回答
  •  萌比男神i
    2020-12-24 06:00

    You can use boostrap colors in the class attribute:

    actionButton("run","Run Analysis", class = "btn-warning")
    

    These are basic colors only but really usefull for graphic standards.

提交回复
热议问题