Skip to content

Commit 4df9ec4

Browse files
1015637: Added content for sub tools of agentic UI builder
1 parent d485dae commit 4df9ec4

4 files changed

Lines changed: 51 additions & 9 deletions

File tree

Document-Processing/PDF/PDF-Viewer/react/depoyment-integration/agentic-builder.md

Lines changed: 51 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ domainurl: ##DomainURL##
1212

1313
This article explains how to build a Syncfusion® React PDF Viewer by entering natural-language instructions into the [**Syncfusion® React Agentic UI Builder**](https://www.syncfusion.com/explore/mcp-servers/) (which runs on Syncfusion's MCP Server). Describe your requirements, and the tool will generate a complete PDF Viewer implementation.
1414

15-
### Prerequisites
15+
## Prerequisites
1616

17-
- Ensure the **React Agentic UI Builder** extension is installed in your IDE. See the official [Getting Started](https://ej2.syncfusion.com/react/documentation/mcp-server/agentic-ui-builder/getting-started) and [installation guide](https://ej2.syncfusion.com/react/documentation/mcp-server/installation).
17+
- Ensure the **React Agentic UI Builder** extension is installed in your IDE. See the official [installation guide](https://ej2.syncfusion.com/react/documentation/mcp-server/installation).
1818
- Have an existing React project ready (JavaScript or TypeScript, any supported version) before using the Agentic UI Builder.
1919

20-
### Usage
20+
## Usage
2121

2222
After installation, open your React project in your IDE, launch the AI assistant, and run the ```#sf_react_ui_builder``` command describing the UI you want. For example:
2323

@@ -31,16 +31,58 @@ The UI Builder generates complete implementations including layout, components,
3131

3232
![PDF Viewer generated by UI builder tool](../images/agentic-builder-output.png)
3333

34-
### Individual Tools
34+
## Individual Tools
3535

36-
You can invoke specific tools by name for focused assistance; besides the main UI Builder, there are tools for layout, styling, and components. See the [individual tools documentation](https://ej2.syncfusion.com/react/documentation/mcp-server/agentic-ui-builder/getting-started#individual-tools) for details.
36+
You can directly call individual tools using their specific tool names when you need focused assistance. This is helpful when you want targeted support from a particular tool.
37+
38+
### Layout Tool (`#sf_react_layout`)
39+
40+
This tool provides a collection of pre-built, responsive UI layout templates and blocks commonly used across different page sections and design patterns.
41+
42+
**When to use:** For creating page structures, responsive layouts, or using ready-made UI patterns.
43+
44+
**Example:**
45+
46+
```
47+
#sf_react_layout Add a navigation bar and footer for PFD Viewer
48+
```
49+
50+
![PDF Viewer with navigation bar generated by layout tool](../images/agentic-builder-layout.png)
51+
52+
### Component Tool (`#sf_react_component`)
53+
54+
This tool offers quick reference details for Syncfusion React components, including their properties, events, methods, and basic usage examples.
55+
56+
**When to use:** When you need essential API information or structure details to correctly implement a specific component.
57+
58+
**Example:**
59+
60+
```
61+
#sf_react_component Integrate a tab component in the existing PDF Viewer setup
62+
```
63+
64+
![PDF Viewer in tabs generated by component tool](../images/agentic-builder-component.png)
65+
66+
### Style Tool (`#sf_react_style`)
67+
68+
This tool provides options for configuring themes, setting up styling, and integrating icons for Syncfusion React components. It supports multiple themes such as Tailwind 3 CSS, Bootstrap 5.3, Material 3, and Fluent 2, along with light and dark mode setups and consistent icon usage.
69+
70+
**When to use:** When applying themes, customizing colors, modifying component appearance, or adding icons to the UI.
71+
72+
**Example:**
73+
74+
```
75+
#sf_react_style Change the theme to tailwind 3 for the PDF Viewer setup
76+
```
77+
78+
![PDF Viewer tailwind 3 theme generated by style tool](../images/agentic-builder-style.png)
3779

3880
### Tips & Best Practices
3981

40-
- Turn on **Agent mode** in your IDE to enable smooth, multi-step operations with confirmation prompts.
41-
- Use **Claude Sonnet 4.5 or newer** models for best results; higher-capability models typically produce more accurate, higher-quality code.
42-
- If a step times out or becomes unresponsive, cancel it and retry.
43-
- Review the generated code and commands before applying them in a production environment.
82+
- Turn on **Agent mode** in your IDE to enable smooth, multi-step operations with confirmation prompts.
83+
- Use higher-capability models (**Claude Sonnet 4.5 or newer, GPT-5**) as they typically produce more accurate, higher-quality code.
84+
- If a step times out or becomes unresponsive, cancel it and retry.
85+
- Review the generated code and commands before applying them in a production environment.
4486

4587
### See Also
4688

61.1 KB
Loading
65.6 KB
Loading
66.5 KB
Loading

0 commit comments

Comments
 (0)