Add a record using a drawer

Add a record using a drawer. The drawer slides in from the side to allow data entry without navigating away from the current view.

When to use

Use this pattern when:

  • Adding records to a list or table
  • The form is secondary to the main content
  • Users need to see the main view while entering data

Considerations

  • Keep the drawer width appropriate for the form content
  • Provide clear save/cancel actions
  • Consider validation before closing
View old example docs