New to Kendo UI for AngularStart a free 30-day trial

SmartPasteButtonComponent

Updated on Feb 11, 2026

Represents the Kendo UI SmartPasteButton component for Angular.

Fills form fields with AI-powered data extraction from clipboard content.

Selector

button[kendoSmartPasteButton]

Export Name

Accessible in templates as #kendoSmartPasteButtonInstance="kendoSmartPasteButton"

Inputs

NameTypeDefaultDescription

disabled

boolean

false

When true, disables the SmartPasteButton and prevents user interaction.

fillMode

ButtonFillMode

undefined

Sets the background and border styles of the SmartPasteButton.

formFields

SmartPasteFormField[]

null

Specifies the form controls to include in Smart Paste. When not set, all form controls are included.

icon

string

'paste-sparkle'

Specifies the icon name to display in the SmartPasteButton.

iconClass

string

Defines one or more CSS classes separated by spaces for a span element inside the SmartPasteButton. Use iconClass to add custom icons.

imageUrl

string

Specifies a URL for an img element inside the SmartPasteButton. The URL can be relative or absolute. When relative, the browser evaluates it relative to the web page URL.

requestOptions?

SmartPasteAIRequestOptions

Configures the HTTP request options for the AI request. Use this to customize headers, method, credentials, and other request settings.

requestUrl?

string

Sets the URL to which Smart Paste sends the AI request. When set, the component sends and handles an HTTP request automatically. Handle the requestStart event to modify request options before sending. When not set, the component does not send an HTTP request. Handle the requestStart event to send and manage a custom HTTP request.

rounded

ButtonRounded

undefined

Sets the border radius of the SmartPasteButton.

size

ButtonSize

undefined

Sets the padding of the SmartPasteButton.

svgIcon

SVGIcon

Sets an SVG icon to display inside the SmartPasteButton.

themeColor

ButtonThemeColor

undefined

Sets a predefined theme color for the SmartPasteButton. The theme color applies as a background and border color and adjusts the text color.

Events

NameTypeDescription

requestCancel

EventEmitter<void>

Fires when the user cancels an ongoing Smart Paste request.

requestEnd

EventEmitter<SmartPasteRequestEndEvent>

Fires when the Smart Paste request completes, either successfully or with an error. Prevent the event to cancel populating the form fields with the response data.

requestStart

EventEmitter<SmartPasteRequestStartEvent>

Fires when the Smart Paste request is about to start. Prevent the event to stop the request before sending it.

Methods

blur

Removes focus from the SmartPasteButton.

focus

Focuses the SmartPasteButton.

paste

Starts the Smart Paste operation. Reads clipboard content and sends it to the AI service for processing.

Returns

Promise<void>

In this article
SelectorExport NameInputsEventsMethods
Not finding the help you need?
Contact Support