-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
[docs] Copyedit the Number Field doc #47469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[docs] Copyedit the Number Field doc #47469
Conversation
Netlify deploy previewBundle size report
|
| ## Outlined field | ||
|
|
||
| The outlined field component uses [text-field composition](/material-ui/react-text-field/#components) with end adornments for the increment and decrement buttons. | ||
| The outlined field component uses [`TextField` composition](/material-ui/react-text-field/#components) with end adornments for the increment and decrement buttons. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@siriwatknp can you elaborate on what this means ("uses text field composition")? I read the section of the doc linked here and it wasn't clear to me how these two are connected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My intention is to show how to achieve outlined TextField-like with the breakdown components. I bring up TextField (even though it's not used) because I think people using Material UI might be familiar with the term text field more than input components.
If you think, it's too ambiguous, feel free to change it.
| Number Field is _not_ a built-in `@mui/material` component—it's composed of a [Base UI Number Field](https://base-ui.com/react/components/number-field) and styled to align with Material UI specs. | ||
| A number field is an input with increment and decrement buttons for capturing numeric input from users. | ||
|
|
||
| Material UI does not include a number field component out of the box, but this doc provides components composed with the [Base UI `NumberField`](https://base-ui.com/react/components/number-field) and styled to align with Material Design (MD2) specifications, so they can be used with Material UI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Material UI does not include a number field component out of the box, but this doc provides components composed with the [Base UI `NumberField`](https://base-ui.com/react/components/number-field) and styled to align with Material Design (MD2) specifications, so they can be used with Material UI. | |
| Material UI does not include a number field component out of the box, but this page provides components composed with the [Base UI `NumberField`](https://base-ui.com/react/components/number-field) and styled to align with Material Design (MD2) specifications, so they can be used with Material UI. |
Uh oh!
There was an error while loading. Please reload this page.