PromptBox Appearance
The PromptBox provides predefined appearance options such as different sizes, border radiuses, fill modes and theme colors for its built-in button controls.
Since version 22.1.0, default values of the appearance properties are no longer hardcoded in the component. The default values are inherited from the Kendo theme.
For more information, refer to the Design System documentation.
The following example demonstrates all available appearance options of the PromptBox in action.
Size
The PromptBox enables you to configure the padding of its buttons. To achieve this, utilize the size property for each button. It accepts values of type ButtonSize.
The following example demonstrates how to define the size of the PromptBox buttons.
Roundness
The PromptBox enables you to apply different border radius to its buttons through the rounded property. It accepts values of type ButtonRounded.
The following example demonstrates how to define the border radius of the PromptBox buttons.
Fill Mode
The PromptBox enables you to set different fill modes for its buttons by using the fillMode property. It accepts values of type ButtonFillMode.
The following example demonstrates how to define the fill mode of the PromptBox buttons.
Theme Colors
The PromptBox enables you to set different theme colors for its buttons by using the themeColor property. It accepts values of type ButtonThemeColor.
The following example demonstrates how to define the theme color of the PromptBox buttons.