diff --git a/docs/content/3.forms/1.input.md b/docs/content/3.forms/1.input.md index 4bdb9114..0078d8ad 100644 --- a/docs/content/3.forms/1.input.md +++ b/docs/content/3.forms/1.input.md @@ -72,6 +72,21 @@ props: --- :: +### Type + +Use the `type` prop to change the input type, the default `type` is set to `text`, you can check all the available types at [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types). + +We have improved the implementation of certain types such as [Checkbox](/forms/checkbox), [Radio](/forms/radio), etc. + +::component-card +--- +baseProps: + name: 'input' +props: + type: 'password' +--- +:: + ### Placeholder Use the `placeholder` prop to set a placeholder text.