Package: shinyGovstyle 0.3.0

Cam Race

shinyGovstyle: Custom Gov Style Inputs for Shiny

Provides 'shiny' components styled using the GOV.UK Design System. See <https://design-system.service.gov.uk/components/> for component guidance.

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.3.0.tar.gz
shinyGovstyle_0.3.0.zip(r-4.7-any)shinyGovstyle_0.3.0.zip(r-4.6-any)shinyGovstyle_0.3.0.zip(r-4.5-any)
shinyGovstyle_0.3.0.tgz(r-4.6-any)shinyGovstyle_0.3.0.tgz(r-4.5-any)
shinyGovstyle_0.3.0.tar.gz(r-4.7-any)shinyGovstyle_0.3.0.tar.gz(r-4.6-any)
shinyGovstyle_0.3.0.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

Pkgdown/docs site:https://dfe-analytical-services.github.io

Datasets:

On CRAN:

Conda:

9.19 score 52 stars 69 scripts 516 downloads 61 exports 67 dependencies

Last updated from:8a432a482d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK151
source / vignettesOK213
linux-releaseOK160
macos-releaseOK99
macos-oldrelOK129
windows-develOK130
windows-releaseOK117
windows-oldrelOK130
wasm-releaseOK116

Exports:accordionbacklink_Inputbannerbutton_Inputcheckbox_Inputconfirmation_panelcontents_linkcookieBannerdate_Inputdetailsdownload_buttondownload_linkdownload_radiosdownload_radios_handlererror_offerror_onerror_summaryerror_summary_updateexternal_linkfile_Inputfontfootergov_boxgov_layoutgov_listgov_main_layoutgov_pagegov_rowgov_summarygov_taggov_textgovReactablegovReactableOutputgovTablegovTabsheaderheading_textinput_fieldinsert_textinset_textlabel_hintnavigate_tonoti_bannerpanel_outputphase_bannerradio_button_InputrenderGovReactablerun_exampleselect_Inputservice_navigationservice_navigation_serverskip_to_maintag_Inputtext_area_Inputtext_Inputupdate_page_titleupdate_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-10-16
Started: 2026-06-30

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-10-16
Started: 2026-04-09

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 | Page titles | Why it matters | Three options | gov_text() | gov_list() | Rich content in list items | inset_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-10-16
Started: 2026-04-09

Layout options
Overview | gov_page() | Page width | Content width vs page width | Page-level components | skip_to_main() | cookieBanner() | header() | phase_banner() | footer() | The main content area | Laying out content | A simple text page | Columns with gov_row() and gov_box() | gov_row() | gov_box() | gov_text() | gov_layout() (deprecated) | Multi-page dashboards | Setting up navigation links | Wiring navigation to panels | Keeping the page title in sync | Footer-only pages | Modularising the code | Complete example

Last update: 2026-10-16
Started: 2026-04-09

Readme and manuals

Help Manual

Help pageTopics
Accordion Functionaccordion
Back Link Functionbacklink_Input
Lookup for bad link textbad_link_text
Button Functionbutton_Input
Case datacase_data
Checkbox Functioncheckbox_Input
Confirmation panelconfirmation_panel
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
Gov List functiongov_list
GOV.UK styled page wrappergov_page
Tabs Functiongov_summary
Taggov_tag
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
Inset textinset_text
Label with Hint Functionlabel_hint
Page Layout Functionsgov_box gov_main_layout gov_row gov_text layouts
Navigate to a page in one callnavigate_to
Notification Banner Functionnoti_banner
Phase bannerphase_banner
Radio Button Functionradio_button_Input
Run examplesrun_example
Select Functionselect_Input
Service navigationservice_navigation
Auto-wire service navigation links to tabset panelsservice_navigation_server
Skip to main content linkskip_to_main
Text Area Input Functiontext_area_Input
Text Input Functiontext_Input
Transport datatransport_data
Transport data smalltransport_data_small
Update the browser page titleupdate_page_title
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