Signature Appearance
The Signature provides predefined appearance options such as stroke color and width, rounded corners and fill modes.
The following example demonstrates all available appearance options of the Signature in action.
Stroke Width
The Signature allows you to control the line thickness width through the strokeWidth property.
The following example demonstrates how to define the stroke width of the Signature.
Colors
The Signature allows you to control the line and background color through the color and backgroundColor properties.
The color option supports the following formats:
| Format | Description | 
|---|---|
| red | The basic or extended CSS Color name | 
| #ff0000 | The Hex RGB value | 
| rgb(255, 0, 0) | The RGB value | 
The following example demonstrates how to define the Signature colors.
Size
The Signature allows you to set different padding on the internal controls. To achieve this utilize the size property. It accepts values of type InputSize or none.
The size option supports the following values:
- small
- medium(Default)
- large
- none—Removes the built-in sizing styles, allowing you to fully customize the- padding.
Rounded Corners
The Signature enables you to apply different border radius to the component through the rounded property. It accepts values of type InputRounded or none.
The rounded option supports the following values:
- small—Sets the border radius of the Signature to- 1px.
- medium(default)—Sets the border radius of the Signature to- 2px.
- large—Sets the border radius of the Signature to- 4px.
- full—Sets the border radius of the Signature track to- 9999px.
- none—The none option removes the built-in roundness of the Signature. Allows for custom border radius.
Fill Mode
The Signature allows you to set different fill modes by using the fillMode property. It accepts values of type InputFillMode or none.
The fillMode option supports the following values:
- flat—Sets a- transparent backgroundand- solid bottom border.
- solid(default)—Applies a- backgroundcolor and- solid borders.
- outline—Sets a- transparent backgroundand- solid borders.
- none—The none option removes the built-in fill mode styles of the Signature. Allows for custom- backgroundand- borderstyles.