mdlightdev / material-design-light

A lightweight CSS framework implementing the Material Design 3.
https://material-design-light.pages.dev/
Mozilla Public License 2.0
18 stars 3 forks source link

Text fields #24

Open robinlahtinen opened 2 years ago

robinlahtinen commented 2 years ago

Design document: https://m3.material.io/components/text-fields

Task list

stephanebastian commented 1 year ago

Just looking at the specification and it seems that prefix and suffix are not implemented yet. Just for information, here is how the latest version of flutter renders things with all properties set (label, leading icon, prefix, hint, trailing icon, suffix) image

Note that in flutter 'hint' is equivalent to 'placeholder' in material 3. As soon as you enter some text in the input field, the hint is hidden To summarize a text field has the following properties: