Skip to content

Modal Components #7773

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Modal Components #7773

wants to merge 8 commits into from

Conversation

anthonydiscord
Copy link
Contributor

@anthonydiscord anthonydiscord commented Aug 23, 2025

You asked for them
We building them
We documenting them

Here's Modal Components 👀 👀 🎉

What's New

We're introducing a new top-level Label component for modals that have a label, description, and can contain a Text Input or a String Select! You heard right, String Selects now work in modals!

  • String Selects now work in modals when placed inside a Label component
  • Text Inputs can also be used inside a Label component
  • When a Text Input is used in a Label component the label field on the Text Input is not allowed in favor of label on the Label component
  • ActionRow + TextInput is now deprecated in favor of the new Label component for better accessibility
  • The required field is now available on String Selects (defaults to true in modals, ignored in messages)
  • The disabled field on String Selects will trigger an error if used in modals and is not currently allowed
Timeline.1.mp4

@anthonydiscord anthonydiscord force-pushed the anthony/modal-components branch from c01c961 to f0add47 Compare August 25, 2025 17:50
@anthonydiscord anthonydiscord requested review from DV8FromTheWorld and advaith1 and removed request for colinloretz August 25, 2025 18:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant