🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket
l

loque-

npm

Packages

Current Co-maintainers

Former Co-maintainers

100 packages

govuk-frederic

govuk-frederic: Frederic project specific components

@govuk-frederic/app-container

Work in progress React component that provides an application container to a given set of React modules.

@govuk-frederic/array-object-table

Renders a table from an an array of objects, providing they have properties which match provided the keys. Also supports transforms of undefined values.

@govuk-frederic/arrow

Downward-pointing triangular icon created using SVG.

@govuk-frederic/arrow-left

Left-pointing arrow icon inside circle, with customisable color, width and fill.

@govuk-frederic/card

govuk-frederic Card component.

@govuk-frederic/compact-table-accordion-group

An accordion menu with various customisable features.

@govuk-frederic/count

Renders a number sent in as a prop.

@govuk-frederic/countdown-text-area

TextArea which accepts a maxlength prop and renders a TextAreaField, limits characters and styles accordingly.

@govuk-frederic/counter-bar

A 'construction kit' for creating a counter bar with counters and a total, with various configurable parameters.

@govuk-frederic/distraction-free

Provides border, arrow-left button and body area for document display.

@govuk-frederic/example

Example modularised application using govuk-frederic

@govuk-frederic/example-module

Example React application module for govuk-frederic

@govuk-frederic/example-module-2

Example React application module for govuk-frederic

@govuk-frederic/header-button

Styled button with further optional active and disabled styles.

@govuk-frederic/keyline

Renders a bottom border with optional inline-block and colour.

@govuk-frederic/object-table

Renders a table from an object whose properties match provided fields. Also supports transforms for values.

@govuk-frederic/open-button

Uses Arrow icon and manage-state to create a button which toggles rotation when clicked and can accept an event handler.

@govuk-frederic/page-header

Page header component providing space for a title and navigation

@govuk-frederic/page-navigation

Page navigation component

@govuk-frederic/remove-button

Renders a styled button containing an x character.

@govuk-frederic/result-count

Renders children, expected to be a number, styled and with customisable color and background-color.

@govuk-frederic/result-count-title

Renders a ResultCount with value sent as a prop, along with a title sent as children.

@govuk-frederic/sample-data

Sample data to power examples that use the Frederic modularisation stack

@govuk-frederic/spinner

Renders an animated GIF as Base-64 - prop sets visibility.