Skip to content

Commit adb408b

Browse files
967323: Added UG for adding components to the toolbox
1 parent 15997f3 commit adb408b

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
layout: post
3+
title: Adding Blazor component to the toolbox - Syncfusion
4+
description: Check out the documentation for adding Syncfusion Blazor component to toobox in Blazor
5+
platform: Blazor
6+
component: Common
7+
documentation: ug
8+
---
9+
10+
# How to Add Blazor Component to the toolbox in Blazor Application
11+
12+
This section explains how to add Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor component to the toolbox. To customize the Visual Studio Toolbox for Blazor, which by default shows HTML components and Bootstrap snippets, you can open the Toolbox by pressing `Ctrl+Alt+X` or navigating to **View → Toolbox** in the menu.
13+
14+
To include Syncfusion components for Blazor in the Toolbox, follow these steps:
15+
16+
1. Right-click anywhere in the Toolbox window and choose Add Tab from the context menu. Enter a name for the new tab, such as Syncfusion Blazor Components, and press Enter to create it.
17+
18+
![Add new tab in toolbox](images/new-tab-toolbox.png)
19+
20+
2. In a code editor, write or paste a code snippet for a Blazor component, such as a Syncfusion Calendar. Highlight the code, then drag and drop it into the newly created tab in the Toolbox.
21+
22+
![Add code snippet to toolbox](images/add-snippet.gif)
23+
24+
3. The Toolbox will automatically assign a name to the item based on the code snippet. You can rename it to something more descriptive, like **SfCalendar**, for better clarity.
25+
26+
![Update name](images/update-name.png)
27+
28+
4. Once added, you can drag the component from the Toolbox directly into your code editor for use in your Blazor project.
29+
30+
![Drag component to editor](images/drag-component.gif)
86.6 KB
Loading
56.5 KB
Loading
10.5 KB
Loading
13.3 KB
Loading

0 commit comments

Comments
 (0)