Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sign_in_ui_default

Default UI styles for the Sign In & Registration pages


Description

Default styling for the sign in & registration pages. Update the sign_in_ui_default() arguments with your brand and colors to quickly style the sign in & registration pages to match your brand.

Usage

sign_in_ui_default(
  sign_in_module = sign_in_module_ui("sign_in"),
  color = "#5ec7dd",
  company_name = "Your Brand Here",
  logo_top = tags$div(style = "width: 300px; max-width: 100%; color: #FFF;", class =
    "text-center", h1("Your", style = "margin-bottom: 0; margin-top: 30px;"), h1("Brand",
    style = "margin-bottom: 0; margin-top: 10px;"), h1("Here", style =
    "margin-bottom: 15px; margin-top: 10px;")),
  logo_bottom = NULL,
  icon_href = "polish/images/polished_icon.png",
  background_image = NULL,
  terms_and_privacy_footer = NULL,
  align = "center"
)

Arguments

sign_in_module

UI module for the Sign In & Registration pages.

color

hex color for the background and button.

company_name

your company name.

logo_top

HTML for logo to go above the sign in panel.

logo_bottom

HTML for the logo below the sign in panel.

icon_href

the URL/path to the browser tab icon.

background_image

the URL/path to a full width background image. If set to NULL, the default, the color argument will be used for the background instead of this image.

terms_and_privacy_footer

links to place in the footer, directly above the copyright notice.

align

The horizontal alignment of the Sign In box. Defaults to "center". Valid values are "left", "center", or "right"

Value

the UI for the Sign In & Registration pages


polished

Authentication, User Administration, and Hosting for 'shiny' Apps

v0.3.0
MIT + file LICENSE
Authors
Andy Merlino [aut, cre], Patrick Howard [aut], Jimmy Briggs [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.