Package: shinyGovstyle 0.2.0.9000

Cam Race

shinyGovstyle: Custom Gov Style Inputs for Shiny

Collection of 'shiny' application styling that are based on the GOV.UK Design System. See <https://design-system.service.gov.uk/components/> for details.

Authors:Ross Wyatt [aut], Cam Race [aut, cre], Sarah Wong [aut], Richard Bielby [ctb], Charlotte Foster [ctb], Jeni Martin [ctb], Andrew Baker [ctb]

shinyGovstyle_0.2.0.9000.tar.gz
shinyGovstyle_0.2.0.9000.zip(r-4.7)shinyGovstyle_0.2.0.9000.zip(r-4.6)shinyGovstyle_0.2.0.9000.zip(r-4.5)
shinyGovstyle_0.2.0.9000.tgz(r-4.6-any)shinyGovstyle_0.2.0.9000.tgz(r-4.5-any)
shinyGovstyle_0.2.0.9000.tar.gz(r-4.7-any)shinyGovstyle_0.2.0.9000.tar.gz(r-4.6-any)
shinyGovstyle_0.2.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
shinyGovstyle/json (API)

# Install 'shinyGovstyle' in R:
install.packages('shinyGovstyle', repos = c('https://dfe-analytical-services.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dfe-analytical-services/shinygovstyle/issues

Datasets:

On CRAN:

Conda:

8.97 score 52 stars 44 scripts 614 downloads 54 exports 67 dependencies

Last updated from:fcca6ea3b9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK151
source / vignettesOK229
linux-release-x86_64OK146
macos-release-arm64OK161
macos-oldrel-arm64OK105
windows-develOK93
windows-releaseOK97
windows-oldrelOK99
wasm-releaseOK165

Exports:accordionbacklink_Inputbannerbutton_Inputcheckbox_Inputcontents_linkcookieBannerdate_Inputdetailsdownload_buttondownload_linkdownload_radiosdownload_radios_handlererror_offerror_onerror_summaryerror_summary_updateexternal_linkfile_Inputfontfooterfull_width_overridesgov_boxgov_layoutgov_listgov_main_layoutgov_rowgov_summarygov_textgovReactablegovReactableOutputgovTablegovTabsheaderheading_textinput_fieldinsert_textlabel_hintnoti_bannerpanel_outputradio_button_InputrenderGovReactablerun_exampleselect_Inputservice_navigationskip_to_maintag_Inputtext_area_Inputtext_Inputupdate_radio_button_Inputupdate_service_navigationvalue_boxwarning_textword_count

Dependencies:base64encbitbit64bslibcachemcellrangerclicliprcommonmarkcpp11crayondigestevaluatefastmapfontawesomefsgluehighrhmshtmltoolshtmlwidgetshttpuvjquerylibjsonliteknitrlaterlifecyclemagrittrmemoisemimemintyotelpillarpkgconfigprettyunitsprogresspromisespurrrR6rappdirsRcppreactablereactRreadODSreadrrematchrlangrmarkdownsassshinyshinyjssourcetoolsstringistringrtibbletidyselecttinytextzdbutf8vctrsvroomwithrwritexlxfunxtableyamlzip

Cookies and analytics
Overview | The cookie banner | A cookies settings page | Banner ids are global, the settings page is a module | The module UI | The module server | Wiring it together at the top level | Extending for analytics

Last update: 2026-06-30
Started: 2026-06-30

Headings and text
Overview | Rich content in body components | heading_text() | Arguments | Visual size and semantic level are independent | Recommended size–level pairings | Accessibility | Heading IDs | gov_text() | gov_list() | insert_text() | warning_text() | noti_banner() | Two types | When to use each component | external_link() | What the function does automatically | Descriptive link text | Grouped links | font()

Last update: 2026-05-28
Started: 2026-04-09

Layout options
Overview | Page-level components | skip_to_main() | cookieBanner() | header() | banner() | footer() | The main content area | The primary layout system | gov_row() | gov_box() | gov_text() | gov_layout() — legacy alternative | Multi-page dashboards | Setting up navigation links | Wiring navigation to panels | Footer-only pages | Modularising the code | Complete example

Last update: 2026-05-28
Started: 2026-04-09

Get started
Overview | See it in action | Installation | shinyjs dependency | A minimal working app | Component overview | Page structure and layout | Headings and text | Form inputs | Interactive components | Error handling | Data display

Last update: 2026-04-13
Started: 2026-04-09

Readme and manuals

Help Manual

Help pageTopics
Accordion Functionaccordion
Back Link Functionbacklink_Input
Lookup for bad link textbad_link_text
Banner Functionbanner
Button Functionbutton_Input
Case datacase_data
Checkbox Functioncheckbox_Input
Contents link functioncontents_link
Cookie Banner FunctioncookieBanner
Date Input Functiondate_Input
Details Functiondetails
Download buttondownload_button
Download linkdownload_link
Download with extension radiosdownload_radios
Download with extension radios handlerdownload_radios_handler
Error off Functionerror_off
Error on Functionerror_on
Error Summary Functionerror_summary
Error Summary Update Functionerror_summary_update
External linkexternal_link
File Input Functionfile_Input
Font Functionfont
Footer Functionfooter
Styling overrides for to give full widthfull_width_overrides
Page Layout Functiongov_layout
Gov List functiongov_list
Tabs Functiongov_summary
Interactive govTablegovReactable
Shiny bindings for govReactable Output and render functions for using govReactable within shiny appsgovReactable-shiny govReactableOutput renderGovReactable
Table FunctiongovTable
Tabs FunctiongovTabs
Header Functionheader
Heading Text Functionheading_text
Input Field Functioninput_field
Insert Text Functioninsert_text
Label with Hint Functionlabel_hint
Page Layout Functionsgov_box gov_main_layout gov_row gov_text layouts
Notification Banner Functionnoti_banner
Panel outputpanel_output
Radio Button Functionradio_button_Input
Run examplesrun_example
Select Functionselect_Input
Service navigationservice_navigation
Skip to main content linkskip_to_main
Tag Functiontag_Input
Text Area Input Functiontext_area_Input
Text Input Functiontext_Input
Transport datatransport_data
Transport data smalltransport_data_small
Update a Govstyle radio button input on the clientupdate_radio_button_Input
Update the active item in a service navigation componentupdate_service_navigation
Create a value text box with optional description and colourvalue_box
Warning Text Functionwarning_text
Word Count Functionword_count