# @sb1/ffe-form

> Form components for Felles Front End

Latest version **101.0.13** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @sb1/ffe-form
pnpm add @sb1/ffe-form
yarn add @sb1/ffe-form
bun add @sb1/ffe-form
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 101.0.13 |
| Published | 2026-09-14 |
| First published | 2018-02-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 93.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 115 |
| Author | SpareBank 1 |
| Maintainers | antidecaf, sb1-designsystem, erlingk, dagfrode |

## Links

- npm: https://www.npmjs.com/package/@sb1/ffe-form
- Repository: https://github.com/SpareBank1/designsystem
- Homepage: https://github.com/SpareBank1/designsystem#readme
- Issues: https://github.com/SpareBank1/designsystem/issues
- npm.io page: https://npm.io/package/@sb1/ffe-form

## Dependencies (2)

- [@sb1/ffe-core](https://npm.io/package/@sb1/ffe-core.md) ^101.0.13
- [@sb1/ffe-buttons](https://npm.io/package/@sb1/ffe-buttons.md) ^101.0.13

## Recent versions

- 101.0.13 (latest) — 2026-09-14
- 101.0.12 — 2026-08-24
- 101.0.11 — 2026-08-17
- 101.0.10 — 2026-08-12
- 101.0.9 — 2026-08-10
- 101.0.8 — 2026-08-07
- 101.0.7 — 2026-08-05
- 101.0.6 — 2026-08-05
- 101.0.5 — 2026-06-15
- 101.0.4 — 2026-05-13
- 101.0.3 — 2026-04-28
- 101.0.2 — 2026-04-21
- 101.0.1 — 2026-04-17
- 101.0.0 — 2026-04-15
- 100.12.4 — 2026-04-13
- … 313 more at https://npm.io/package/@sb1/ffe-form/versions

## README

# @sb1/ffe-form

## Install

```bash
npm install --save @sb1/ffe-core @sb1/ffe-form
```

## Usage

Full documentation on form usage is available at https://design.sparebank1.no/komponenter/skjemaelementer/.

```less
@import 'path/to/node_modules/@sb1/ffe-form/less/form';
```

### Importing compiled CSS

If your project does not use Less, you can import the compiled styling:

```css
@import '~@sb1/ffe-form/css/form.css';
```

See also `@sb1/ffe-form-react`.

## Theming with CSS custom properties

In order to support theming of components, this package contains styling that depends on a set of custom properties, defined in `less/theme.less`. These properties in turn depend on a base theme defined in `ffe-core`.

If your project uses the `ffe-core`, you're probably good to go. If not, make sure to import the core properties in `theme.less`:

```css
@import '~@sb1/ffe-core/less/theme';
```

This package consists of several components, each with their own styling. If you choose to use only one component, e.g. `checkbox.less` in your app, make sure to also import `theme.less` in order to have access to the necessary CSS properties.

```css
@import '~@sb1/ffe-form/less/theme';
@import '~@sb1/ffe-form/less/checkbox';
```

## Development

To start a local development server, run the following from the designsystem root folder:

```bash
npm install
npm run build
npm start
```

A local instance of `Storybook` with live reloading will run at http://localhost:6006/.

Example implementations using the latest versions of all components are also available at https://sparebank1.github.io/designsystem.

---
_Source: https://npm.io/package/@sb1/ffe-form · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
