Skip to content

Input: add Small size variant #2697

Description

@vitorvlopes

Summary

Add a new Small size for Input and its field variants, for all skins.

Change

New small size for Input and its field variants (Email, Password, Decimal, Integer, CVV, CreditCardNumber, CreditCardExpiration, Iban, PhoneNumber, DateField), plus the internal Dropdown/Autocomplete suggestion menus. Affects only label/value font size — helper-text and padding stay the same as the default size mentioned at #2696 .

Proposed

  • New small: boolean prop on Input, same pattern already used in Button/IconButton/Tag

Proposed tokens

  • No new typography tokens needed: reuse existing text presets (text-preset-2 for small, text-preset-3 for default), same resolution already applied to Callout ([mistica-design#2693]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions