SOLFIND
Web Lens
Portal home

Email input element | Slack Developer Docs

https://docs.slack.dev/reference/block-kit/block-elements/email-input-element/ • 57 KB fetched
Open original page


Email input element | Slack Developer Docs reference Skip to main content Guides Reference Samples Tools Changelog Dev Program MANAGE APPS * Reference * App manifest * Block Kit * Overview * Blocks * Block Kit Elements * Overview * Attachment mention element * Broadcast element * Button element * Canvas element * Canvas message unfurl element * Canvas user mention element * Channel element * Checkboxes element * Citation element * Color element * Date element * Date picker element * Datetime picker element * Email input element * Emoji element * Feedback buttons element * File element * File input element * Icon button element * Image element * Link element * List record element * Message mention element * Multi-select menu element * Number input element * Overflow menu element * Plain-text input element * Radio button group element * Rich text input element * Rich text list element * Rich text preformatted element * Rich text quote element * Rich text section element * Salesforce data field element * Select menu element * Tag element * Team element * Text element * Time picker element * URL input element * URL source element * User element * Usergroup element * Work object mention element * Workflow button element * Workflow mention element * Composition objects * Events * Interaction payloads * Methods * Objects * Scopes * Types * Slack Connect API * Views * * Audit Logs API * Legal Holds API * SCIM API * * Slack Status API * * Block Kit * Block Kit Elements * Email input element Copy as markdown On this page Email input element Fields ​ Fields Type Description Required? type String The type of element. In this case type is always email_text_input . Required action_id String An identifier for the input value when the parent modal is submitted. You can use this when you receive a view_submission payload to identify the value of the input element . Should be unique among all other action_id s in the containing block. Maximum length is 255 characters. Optional initial_value String The initial value in the email input when it is loaded. Optional dispatch_action_config Object A dispatch configuration object that determines when during text input the element returns a block_actions payload . Optional focus_on_load Boolean Indicates whether the element will be set to auto focus within the view object . Only one element can be set to true . Defaults to false . Optional placeholder Object A plain_text only text object that defines the placeholder text shown in the email input. Maximum length for the text in this field is 150 characters. Optional Example ​ The email input element must be used inside the input block. This example shows an input block containing an email input element. * JSON * Python Slack SDK * Node Slack SDK * Java Slack SDK { "blocks" : [ { "type" : "input" , "block_id" : "input123" , "label" : { "type" : "plain_text" , "text" : "Email Address" } , "element" : { "type" : "email_text_input" , "action_id" : "email_text_input-action" , "placeholder" : { "type" : "plain_text" , "text" : "Enter an email" } } } ] } View in Block Kit Builder block-kit/src/elements/email_input.py loading . . . View on GitHub block-kit/src/elements/email_input.js loading ... View on GitHub block-kit/src/main/java/elements/EmailInput.java loading . . . View on GitHub Previous Datetime picker element Next Emoji element Copy as markdown * Fields * Example . * Tools * Slack CLI * Bolt frameworks * Slack SDKs * Block Kit Builder * Developer program * Code samples & tutorials * LLM? Read llms.txt * All tools Learn * Learning paths * Workshops * Slack certifications * Trailhead * Resource library * All learning resources Community * Slack community * Slack events Resources * Docs * Blog * Slack marketplace * Developer newsletter Manage Apps * Your apps * Status * Privacy * Terms * Cookie Preferences * Support * Changelog * Your Privacy Choices © 2026 Slack Technologies, LLC, a Salesforce company. All rights reserved. Various trademarks held by their respective owners. * * *

Links found on this page

  1. Skip to main content [direct]
  2. Guides [direct]
  3. Reference [direct]
  4. Samples [direct]
  5. Tools [direct]
  6. Changelog [direct]
  7. Dev Program [direct]
  8. MANAGE APPS [direct]
  9. Reference [direct]
  10. App manifest [direct]
  11. Block Kit [direct]
  12. Blocks [direct]
  13. Block Kit Elements [direct]
  14. Attachment mention element [direct]
  15. Broadcast element [direct]
  16. Button element [direct]
  17. Canvas element [direct]
  18. Canvas message unfurl element [direct]
  19. Canvas user mention element [direct]
  20. Channel element [direct]
  21. Checkboxes element [direct]
  22. Citation element [direct]
  23. Color element [direct]
  24. Date element [direct]
  25. Date picker element [direct]
  26. Datetime picker element [direct]
  27. Email input element [direct]
  28. Emoji element [direct]
  29. Feedback buttons element [direct]
  30. File element [direct]
  31. File input element [direct]
  32. Icon button element [direct]
  33. Image element [direct]
  34. Link element [direct]
  35. List record element [direct]
  36. Message mention element [direct]
  37. Multi-select menu element [direct]
  38. Number input element [direct]
  39. Overflow menu element [direct]
  40. Plain-text input element [direct]
  41. Radio button group element [direct]
  42. Rich text input element [direct]
  43. Rich text list element [direct]
  44. Rich text preformatted element [direct]
  45. Rich text quote element [direct]
  46. Rich text section element [direct]
  47. Salesforce data field element [direct]
  48. Select menu element [direct]
  49. Tag element [direct]
  50. Team element [direct]
  51. Text element [direct]
  52. Time picker element [direct]
  53. URL input element [direct]
  54. URL source element [direct]
  55. User element [direct]
  56. Usergroup element [direct]
  57. Work object mention element [direct]
  58. Workflow button element [direct]
  59. Workflow mention element [direct]
  60. Composition objects [direct]
  61. Events [direct]
  62. Interaction payloads [direct]
  63. Methods [direct]
  64. Objects [direct]
  65. Scopes [direct]
  66. Types [direct]
  67. Slack Connect API [direct]
  68. Views [direct]
  69. Audit Logs API [direct]
  70. Legal Holds API [direct]
  71. SCIM API [direct]
  72. Slack Status API [direct]
  73. to identify the value of the input element [direct]
  74. dispatch configuration object [direct]
  75. block_actions payload [direct]
  76. plain_text [direct]
  77. input [direct]
  78. View in Block Kit Builder [direct]
  79. View on GitHub [direct]
  80. View on GitHub [direct]