form-form:
  label: Form
  namespace: Atoms/Form
  use: '@atoms/form/_form.twig'
  description: Form.
  dependencies:
    - form-element
  libraries:
    - form_lib:
        css:
          component:
            ../styles/forms.css:
              weight: 7
            ../styles/forms-styled-tags.css:
              weight: 8
            ../styles/forms-form.css:
              weight: 9
  fields:
    children:
      label: Example form element
      type: pattern
      preview:
        - id: form-element
          variant: textfield
          fields:
            suffix: <i class='fas fa-map-marker-alt'></i>
            label:
              id: form-label
              fields:
                title: Title
  settings:
    attributes:
      type: attributes
      label: Attributes
    form_class:
      type: textfield
      label: Form class
    is_inline:
      type: boolean
      label: Inline
