Azure Maps in Blazor
Markers, routes, regions, zones, geocoding and place search from typed C#.
Blazor components
A data grid, Azure Maps, a video player, a rich-text editor and 130 icons and logos, all driven from C#.
Markers, routes, regions, zones, geocoding and place search from typed C#.
Paging, infinite scroll, sorting, selection, pinning, reordering and export.
Each component family is its own NuGet package.
Dialogs, popups, tabs, switches, date pickers, progress and Markdown.
Sorting, paging, selection, pinning, reordering and export.
HTML5 and HLS video with captions, casting and playback settings.
Azure Maps and Google Maps with markers, routes, zones and search.
Rich text with embeds, fullscreen mode and HTML validation.
130 SVG icon and logo Razor components.
Free, open-source Blazor component libraries for .NET 11.
dotnet add package AngryMonkey.CloudComponents
dotnet add package AngryMonkey.CloudComponents.DataGrid
dotnet add package AngryMonkey.CloudComponents.VideoPlayer
dotnet add package AngryMonkey.CloudComponents.Maps
dotnet add package AngryMonkey.CloudComponents.TextEditor
dotnet add package AngryMonkey.CloudComponents.Icons
_Imports.razor@using CloudComponents.Basic
@using CloudComponents.DataGrid.Components
@using CloudComponents.DataGrid.Models
@using CloudComponents.VideoPlayer
@using CloudComponents.Maps.Components
@using CloudComponents.Maps.Models
@using CloudComponents.Maps.Services
@using AngryMonkey.CloudComponents.TextEditor.Components
@using AngryMonkey.CloudComponents.TextEditor.Models
@using AngryMonkey.CloudComponents.TextEditor.Services
@using CloudIcons
@using CloudIcons.Icons
@using CloudIcons.Logos
@using AngryMonkey.CloudComponents.Markdown
wwwroot/index.html<!-- Core components CSS + JS -->
<link rel="stylesheet" href="_content/AngryMonkey.CloudComponents/css/amc-components.css" />
<script src="_content/AngryMonkey.CloudComponents/js/amc-components.js"></script>
<script src="_content/AngryMonkey.CloudComponents/js/dialog.js"></script>
<!-- VideoPlayer -->
<script src="_content/AngryMonkey.CloudComponents.VideoPlayer/hls.js"></script>
<script src="_content/AngryMonkey.CloudComponents.VideoPlayer/videoPlayer.js"></script>
<script src="_content/AngryMonkey.CloudComponents.VideoPlayer/progressbar.js"></script>
AngryMonkey.CloudComponents)| Component | Minimum usage |
|---|---|
PopupComp |
<PopupComp @ref="_p" Title="Hello"><p>Body</p></PopupComp> then await _p.Open() |
Dialog |
<Dialog @ref="_d" Title="Confirm" Buttons="@_btns">Message</Dialog> |
Switch |
<Switch Value="@_val" ValueChanged="OnChanged" AllowNone="true" DisplayText="true" /> |
CopyButton |
<CopyButton Text="@_value" CopyOnContentClick="true">@_value</CopyButton> |
Tabs |
<Tabs TabsList="@_tabs" /> where _tabs is a List<TabItem> |
ProgressBar |
<ProgressBar Style="ProgressBarStyle.Flat" Value="@_v" Total="100" OnChanged="OnChanged" /> |
VolumeBar |
<VolumeBar Value="@_vol" Extended="true" OnChanged="OnChanged" /> |
CloudMarkdown |
<CloudMarkdown SourceUrl="@readmeUrl" DocumentRoute="/docs" /> |
CloudMarkdown renders either a remote .md / .markdown document (SourceUrl) or supplied Markdown (Content) inside isolated documentation styles. It resets surrounding page styles, resolves GitHub README links through DocumentRoutes, preserves external GitHub links, and scrolls local fragments without leaving #... in the address bar. Register builder.Services.AddHttpClient() in the host app before loading remote documents. Theme overrides can be passed through Style with component-local variables such as --cloudcomponents-markdown-link, --cloudcomponents-markdown-surface, and --cloudcomponents-markdown-font-size. Raw HTML is intentionally disabled for safe remote rendering.
AngryMonkey.CloudComponents.DataGrid)<CloudGrid TItem="MyModel" DataProvider="LoadData" Columns="@_columns" />
DataProvider — async callback for server-driven load, sort, and pageCloudGridHeaderOptions — adds search, refresh, export toolbarNone, LoadMore, PagerSee CloudComponents.DataGrid/README.md for the full API.
AngryMonkey.CloudComponents.VideoPlayer)<VideoPlayer Metadata="@_metadata" />
Build VideoPlayerMetadata to configure source URL, type (MP4 / HLS), controls, volume, loop, aspect ratio, and captions.
See CloudComponents.VideoPlayer/README.md for all options.
AngryMonkey.CloudComponents.Maps)<AzureMap @ref="_map" Options="@_options" OnMapReady="OnMapReady" />
Register your key in Program.cs:
builder.Services.AddAzureMaps(options => options.SubscriptionKey = "YOUR_AZURE_MAPS_KEY");
Features: markers, regions, polygon boundaries, geocoding, reverse geocoding, place search, pin-my-location, location lock, camera and style updates at runtime. See CloudComponents.Maps/README.md for the full API.
AngryMonkey.CloudComponents.TextEditor)<CloudEditor @bind-Value="_html" Placeholder="Start writing…" FirstHeadingLevel="2" />
Rich text editor with headings, bold/italic/strikethrough, colors, alignment, lists, links, image/video insertion, fullscreen mode, and HTML code view with validation. See CloudComponents.TextEditor/README.md for the full API.
AngryMonkey.CloudComponents.Icons)<PlayIcon /> <PauseIcon /> <SearchIcon /> <GoogleLogo /> <MicrosoftLogo />
SVG icon and logo Razor components — no extra CSS class or import required.
CloudComponents/
+-- CloudComponents.Basic/ # Core UI primitives package
+-- CloudComponents.DataGrid/ # Data grid library
+-- CloudComponents.VideoPlayer/ # Video player library
+-- CloudComponents.Maps/ # Azure Maps library
+-- CloudComponents.Maps.Web/ # Maps web helpers
+-- CloudComponents.TextEditor/ # Rich text editor library
+-- CloudComponents.Icons/ # SVG icon components
+-- CloudComponents.Demo/ # Unified demo app (deployed to GitHub Pages)
+-- archived/ # Legacy standalone demo projects (reference only)
Pull requests are welcome. For larger changes please open an issue first to discuss the approach.
MIT
This project is part of the Angry Monkey Cloud open-source ecosystem. Follow the shared AI development instructions and browse the project catalog and GitHub organization.
UI visuals consume CloudCommon --amc-* tokens. Library overrides use --cloudcomponents-*. Load ThemeCss.ExportDocument(theme) or render CloudThemeDocument in the document head; set html data-amc-theme to light, dark or system. Use CloudThemeScope for independent embedded themes. Component class names are unchanged. See CloudCommon integration for the token migration and source build instructions.
Use the libraries, send a pull request, or help pay for the work.