Skip to content

Virke design system

Form elements

Try the fields and controls used in Virke forms. See what happens when you type, choose an option or enter an invalid value.

Input fields

The placeholder shows an example and disappears when you type.

You cannot edit this address. Pressing Tab skips the field.

The pink border previews how a text field looks when it has keyboard focus.

A longer answer can wrap across lines and include paragraph breaks.

Input with an attached submit button

Type or paste the example code 012345. No email is sent.

Password visibility

Date range

Sets the earliest end date.

Defaults to the following day.

Address fields

Phone number with country code

Dropdown

Choose one country from a fixed list.

Searchable dropdown

Use a searchable dropdown to select one option from a fixed list.

Search by name, then choose a country from the list.

  • Scandinavia
  • Rest of the world

Searchable multi-select

Use this when several answers can apply and the list is too long to scan as checkboxes. Each selection stays in place while you search for the next one.

Choose the risks you have identified. Remove a risk to make it available in the list again.

    • Excessive working hours
    • Unpaid wages
    • Unsafe working conditions
    • Discrimination
    • Forced labour

    Registry lookup

    Search the Norwegian Central Coordinating Register for Legal Entities (Enhetsregisteret), as in the membership form.

    Enter at least two characters of an organisation name or its nine-digit organisation number.

    Editable combobox

    Choose a suggested job title or enter your own.

    • Managing director
    • Pharmacist
    • Store manager
    • Secretary general
    • HR manager
    • Headteacher
    • Centre manager
    • Chair of the board
    • Finance manager

    Radio buttons

    Use radio buttons for a single choice when options need room for a description.

    When will you attend the course?
    Outside my normal working hours.

    Radio cards

    Use cards for a single choice when each answer needs its own row. The whole row selects the answer.

    Why are you cancelling your membership?

    Choice buttons

    Use choice buttons for a few short options when only one can be selected.

    When will you attend?

    Choose “Both” if only part of the course takes place during working hours.

    Checkboxes

    Use checkboxes when more than one option can apply, or when someone needs to confirm a statement.

    Full-width switches

    Use a switch for a setting that takes effect as soon as it is turned on or off.

    Inline switches

    Quantities and identifiers

    An identifier, not an amount. Keep all 11 digits, including leading zeros.

    Repeatable field groups

    Choose a category or add your own. Describe the expense if you add a category or choose “Other”.

    Progress indicator and funding summary

    A snapshot of a course funding application at step 2 of 6.

    Step 2 of 6

    File upload

    Supporting documents for a funding application.

    The empty drop zone offers an alternative to the file picker.

    This example previews the hover state before a file is chosen.

    These rows show possible upload states. No files are sent.

    • programme.pdf Uploading
    • receipt.png Uploaded
    • budget.pdf
    • Could not upload invoice.pdf. Try again.
    • Only PDF, PNG and JPG files are accepted.

    Form errors

    These examples show fields after validation.

    Replace the letter with a digit to clear the error.

    Enter four digits, for example 0165.
    Enter a valid email address.

    Required checkbox

    Tick the box to clear the error.

    Confirm that the details are correct.
    Could not upload receipt.pdf. Choose the file again.