@maggioli-design-system/mds-input-otp
v1.1.4
Published
mds-input-otp is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.
Keywords
Readme
mds-input-otp
Properties
| Property | Attribute | Description | Type | Default |
| ------------ | ------------ | ------------------------------------------------------------ | --------------------- | ------- |
| autosubmit | autosubmit | Automatically submits the form when the OTP code is complete | boolean | false |
| length | length | Number of digits in the OTP code | number | 6 |
| value | value | The current value of the OTP code | string \| undefined | '' |
Dependencies
Depends on
Graph
graph TD;
mds-input-otp --> mds-input
mds-input --> mds-button
mds-input --> mds-input-tip
mds-input --> mds-input-tip-item
mds-input --> mds-icon
mds-input --> mds-spinner
mds-button --> mds-spinner
mds-button --> mds-icon
mds-button --> mds-text
mds-input-tip-item --> mds-text
style mds-input-otp fill:#f9f,stroke:#333,stroke-width:4pxBuilt with love @ Gruppo Maggioli from R&D Department
