components
Input Signature
v.1.0.0 | SaturnAllows users to enter a signature directly on the screen with their finger in the case of touch devices or with the cursor in the case of desktop.
<div style={{ width: '300px' }}> <InputSignatureUnControlled variant="DEFAULT" placeholder={{ content: "Sign here" }} /> </div>
Variant
In Kubit Design System, users have the freedom to generate variants for each component according to their needs. While predefined variants are provided as examples, they can be modified or new ones can be added to align with the specific requirements of each project.
We have set this predefined style for quick use. Access them through the variant prop:
<div style={{ width: '300px' }}> <InputSignatureUnControlled variant="DEFAULT" placeholder={{ content: "Sign here" }} /> </div>
Error
If error is TRUE the component will communicate that something is not right. The type of error and the form of solving should be communicate through the errorText component.
<div style={{ width: '300px' }}> <InputSignatureUnControlled variant="DEFAULT" placeholder={{ content: "Sign here" }} errorText={{ content: 'Error Message' }} error /> </div>
Disabled
If disabled is TRUE it means that is a non interactive component.
<div style={{ width: '300px' }}> <InputSignatureUnControlled variant="DEFAULT" placeholder={{ content: "Sign here" }} disabled /> </div>