Form validation

The form validation component is used to provide the user with specific feedback about errors in a text field.

Default

bpk-component-form-validation

Backpack form validation component.

Installation

Check the main Readme for a complete installation guide.

Usage

import BpkFormValidation from '@skyscanner/backpack-web/bpk-component-form-validation';

export default () => (
  <BpkFormValidation id="my-form-validation" expanded>
    A validation message.
  </BpkFormValidation>,
)

Props

Check out the full list of props on Skyscanner's design system documentation website.

Props