61 packages
@slice-and-dice/govuk-react
govuk-react: A port of the govuk-frontend components for React using styled-components.
@slice-and-dice/govuk-react-back-link
Styled anchor with left-pointing triangle, children rendered as text and optional click handler.
@slice-and-dice/govuk-react-breadcrumb
Renders a styled container, unordered list and list items containing links passed as children.
@slice-and-dice/govuk-react-breadcrumbs
Displays a list of breadcrumbs.
@slice-and-dice/govuk-react-button
Styled button component with configurable properties.
@slice-and-dice/govuk-react-caption
Renders children passed inside a styled span element.
@slice-and-dice/govuk-react-checkbox
Styled checkbox component, also displaying label.
@slice-and-dice/govuk-react-constants
govuk-react: A port of the govuk-frontend components for React using styled-components.
@slice-and-dice/govuk-react-date-field
Date field component displaying day, month and year and featuring several configurable options.
@slice-and-dice/govuk-react-details
Renders a styled details element along with summary from prop and children rendered as contents.
@slice-and-dice/govuk-react-document-footer-metadata
Renders styled document footer metadata from props provided.
@slice-and-dice/govuk-react-error-summary
Notice used to display form errors to user - also includes anchors to jump to relevant form sections.
@slice-and-dice/govuk-react-error-text
Renders a styled span element containing children provided.
@slice-and-dice/govuk-react-fieldset
govuk-react Fieldset component.
@slice-and-dice/govuk-react-file-upload
File input component with label expected as children.
@slice-and-dice/govuk-react-footer
govuk-react Footer component.
@slice-and-dice/govuk-react-form-group
govuk-react FormGroup component.
@slice-and-dice/govuk-react-grid-col
GridCol component for use inside GridRow component - includes media query breakpoints.
@slice-and-dice/govuk-react-grid-row
GridRow component for use around GridCol components - includes media query breakpoints.
@slice-and-dice/govuk-react-header
Outputs a styled heading tag of provided level, rendering children as contents.
@slice-and-dice/govuk-react-heading
Outputs a styled heading tag of provided level, rendering children as contents.
@slice-and-dice/govuk-react-hint-text
Renders a styled span element with children provided.
@slice-and-dice/govuk-react-hoc
govuk-react: A port of the govuk-frontend components for React using styled-components.
@slice-and-dice/govuk-react-icons
govuk-react: A port of the govuk-frontend components for React using styled-components.
@slice-and-dice/govuk-react-input
Styled input component with optional type prop, defaulting to 'text'.