KEMBAR78
Add Types for Condensed Inputs by ayden-stripe · Pull Request #807 · stripe/stripe-js · GitHub
Skip to content

Conversation

@ayden-stripe
Copy link
Contributor

@ayden-stripe ayden-stripe commented Sep 22, 2025

Summary & motivation

Adding new inputs and labels types within the Appearance API for condensed inputs.

  • added inputs: spaced | condensed
  • added labels: auto

* The style of input fields to use for the Elements. Defaults to 'spaced'.
* @docs https://stripe.com/docs/stripe-js/appearance-api#inputs
*/
inputs?: 'spaced' | 'condensed';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not seeing these in the doc, do you have to be under certain merchant?
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @tjliu-stripe docs update will be live soon!

Copy link

@ssablan-stripe ssablan-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the JS doc comments! Looks good! 🔥

@ayden-stripe ayden-stripe merged commit f87868e into master Sep 22, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants