Skip to content

Commit 6930717

Browse files
Merge pull request #6286 from syncfusion-content/BLAZ-967323-MissingUG
967323: Added UG for adding components to the toolbox
2 parents 15997f3 + 4f0ef10 commit 6930717

File tree

6 files changed

+33
-0
lines changed

6 files changed

+33
-0
lines changed

blazor-toc.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@
293293
<ul>
294294
<li>
295295
<a href="/blazor/common/extend-and-customize-components">Extend and Customize the Syncfusion Components</a>
296+
</li>
297+
<li>
298+
<a href="/blazor/common/how-to/add-blazor-component-to-the-toolbox">Add Blazor Component to the toolbox</a>
296299
</li>
297300
<li>
298301
<a href="/blazor/common/how-to/add-blazor-component-on-existing-aspnet-core-mvc-app">Add Blazor Components on Existing ASP.NET Core MVC Application</a>
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: Checkout and learn here all about the documentation for adding Syncfusion Blazor component to the toolbox in Blazor
5+
platform: Blazor
6+
component: Common
7+
documentation: ug
8+
---
9+
10+
# How to add Syncfusion 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)