liam@goldfinch ~/blog · main
Back to posts · ~/blog/posts/kentico-12-mvc-font-awesome-form-component.md

Kentico 12 MVC Font Awesome Form Component

I built a Font Awesome form component for the Kentico 12 MVC marketplace that lets content editors search and pick any Font Awesome 5.x icon for menus, CTAs and social links. It uses Kentico's Service Pack modal API to keep icon selection in a dialog rather than bloating the widget properties. Source is on GitHub.

Following on from my previous blog post about the Kentico 12 MVC Map Location Form Component, I've continued with another contribution to the Kentico MVC marketplace.

Form Component

This time I've created a Font Awesome form component which allows content editors to search and choose from all available Font Awesome 5.x icons. There are a number of scenarios where a developer may want to allow a content editor to customise an icon, such as icons used on navigation menus, CTA buttons or social media links.

With this form component added to a widget, a preview of the currently selected icon will be shown, and a button next to it will open up the modal dialog for searching and choosing a new icon.

Example widget properties demonstrating the font awesome form component.

This modal dialog is triggered using the modal API which was introduced in the Kentico 12 Service Pack. Having access to the modal API means you're now able to create complex form components without bloating the widget UI directly. 

The modal for selecting a font awesome icon.

You can view the source code over at the GitHub repository.  Feel free to look around the project, provide suggestions by submitting an Issue, or submit new features through a pull request. 

// related

Keep reading

how-i-used-claude-code-to-redesign-my-kentico-sustainability-module.md 2 min
#post

How I Used Claude Code to Redesign My Kentico Sustainability Module

Discover how I used Claude Code, Anthropic’s AI coding assistant, to refactor and redesign the UI of my Kentico Sustainability module - replacing third-party components with native ones and creating a cleaner, more integrated experience.

#Kentico #AI tooling #Open source
goldfinch-me-is-now-open-source.md 3 min
#post

Goldfinch.me is Now Open Source

Learn about why I’ve made the source code for my personal blog site publicly available on GitHub.

#Kentico #Open source
bringing-sustainability-insights-to-xperience-by-kentico.md 3 min
#post

Bringing Sustainability Insights to Xperience by Kentico

Open source meets sustainability: the XperienceCommunity.Sustainability package brings green tooling to Xperience by Kentico - inspired by Umbraco, and already giving back to it.

#Kentico #Umbraco #Open source
enable-quick-page-editing-from-your-xperience-by-kentico-website-channels.md 3 min
#post

Enable Quick Page Editing from Your Xperience by Kentico Website Channels

Simplify content management with this new package for Xperience by Kentico. It adds an "Edit Page" button to your website channels, allowing editors to quickly access the Kentico administration interface and make updates effortlessly. Enhance your workflow and keep your content fresh with ease.

#Kentico #Open source