Change the color of action button in shiny

前端 未结 3 992
感情败类
感情败类 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条回答
  •  隐瞒了意图╮
    2020-12-24 05:55

    Below, I've made your action button look like a submit button (also adding a font-awesome icon):

    actionButton("run", "Run Analysis", icon("paper-plane"), 
        style="color: #fff; background-color: #337ab7; border-color: #2e6da4")
    

提交回复
热议问题