Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form container component #604

Closed
mperrotti opened this issue Sep 20, 2023 · 1 comment
Closed

Form container component #604

mperrotti opened this issue Sep 20, 2023 · 1 comment

Comments

@mperrotti
Copy link
Contributor

mperrotti commented Sep 20, 2023

Add a component to Primer that handles layout and a11y considerations for forms.

This component should handle:

  • Form-level banners (general info and/or form validation summary)
  • Form title
  • Form sections
  • Form section titles
  • Form body
  • Form actions (e.g.: Submit, Cancel)

Design WIP

🎨 Figma

Wireframe showing component parts

Demo

Example of form container with all parts

Component API

  • FormContainer
    • FormContainer.Banner
    • FormContainer.Title
    • FormContainer.Description
    • FormContainer.Section
      • FormContainer.Title
      • FormContainer.Description
    • FormContainer.Footer
@mperrotti
Copy link
Contributor Author

Filed in wrong repo

@mperrotti mperrotti closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant