Introducing UI Templates for Xamarin.Forms | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (173).NET Core  (29).NET MAUI  (203)Angular  (107)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (40)Black Friday Deal  (1)Blazor  (211)BoldSign  (13)DocIO  (24)Essential JS 2  (106)Essential Studio  (200)File Formats  (65)Flutter  (132)JavaScript  (219)Microsoft  (118)PDF  (81)Python  (1)React  (98)Streamlit  (1)Succinctly series  (131)Syncfusion  (897)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (50)Windows Forms  (61)WinUI  (68)WPF  (157)Xamarin  (161)XlsIO  (35)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (146)Chart  (127)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (618)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (39)Extensions  (22)File Manager  (6)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (501)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (42)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (10)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (381)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (17)Web  (582)What's new  (323)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
xamarin-forms-ui-template

Introducing UI Templates for Xamarin.Forms

Creating a great user interface is very important to make users stay on your app and avoid it being uninstalled from their devices. It’s not as easy to create this kind of design in cross-platform development as in native development. However, Xamarin.Forms is actively improving the designing experience in all aspects by adding new views and layouts and enabling developers to access the native APIs from the shared code base.

We at Syncfusion really understand the need in Xamarin.Forms to produce the best user interface. We provide more than 50 UI views to build any complex design from the shared code base. From our 2019 Volume 1 release, we are moving one more step forward by providing complete context-based designs. This lets developers focus on business logic and not worry about the UI, as we are taking care of that part.

Login screen templates

In this release, we have included designs of login screens that fulfill the requirements of any login process. The login screens include login, sign up, forgot password, and reset password pages. Adding, removing, or editing the existing elements is simple and any Xamarin.Forms developer can easily understand the code.

Additionally, we have provided a ContentView called EmailEntry to add a rounded-corner appearance to a page for entry and validation of email addresses. The EmailEntry view get email addresses from the user for the login, sign up, and forgot password pages.

Login screens:

  • Login – The login page includes entries to take emails and passwords and a button to redirect from the login page to log in using a Facebook account. This page uses the Border, Button and GradientView components from Syncfusion.
  • Sign up – The sign-up page asks only a bit of common information from a user. But you may need this additional information, such as a phone number or address. You can simply insert those input views like any other view. Finally, you will get the perfect UI with the new items.
  • Forgot password – This page asks for an email address from the user to which to send the link to reset the forgotten password to a new password. This page has visual elements for entering the registered email and a button to request a reset-password link.
  • Reset password – When the user clicks the link received from the forgot password page, you can launch this page to have them set a new password. This page has visual elements for entering a new password, confirming that password, and a button to submit the new password.

xamarin-forms-ui-templates-login-screen

Add templates from Visual Studio

The Visual Studio item template extension will be installed with your Syncfusion Essential Studio for Xamarin installation. Add the required Syncfusion page from the item template, as with any framework items. All the files, including the XAML design page, view model, view, and resources, will be added in their own folders. You don’t have to make any changes to the folder structure or namespace inside the files, as it will all be set up in a meaningful and standard pattern.

The picture below demonstrates the Syncfusion item templates in Visual Studio.

xamarin-forms-login-screen-vs-item-template

Specify the name for the folder that keeps the required files for the chosen template. For example, if you specify Login, our extension adds the Login as a subfolder inside the Views and ViewModels folder to keep the login files in.

Visual Studio item template shows adding xamarin forms login screens.

The following image shows the Solution Explorer after adding the Login page from the Visual Studio item template. Additionally, the images and font icons will be added in the platform-specific projects.

xamarin.forms login screen templatesIntegrating business logic in your templates

Adding the functionalities of your business logic is easy since the template follows the MVVM design pattern and has a clear separation between views and business logic. All the clickable items in the view have been linked to a command in ViewModel. So, you don’t need to touch the design unless you are required to add or remove an element from the UI.

The following image shows the command to add functionalities in the view model of a sign-up page.

xamarin-forms-login-screen-code

Summary

This is the initial set of templates for Xamarin.Forms. More templates will be added in our upcoming releases to quickly build any complex user interface in cross-platform development using Xamarin.Forms.

Please share your valuable feedback for these login screens in the comments section below. If you would like to request a new design, please create a new feature request through our feedback portal.

https://www.syncfusion.com/feedback

Make sure to explore all our controls for Xamarin.Forms available on Google Play and the Microsoft Store.

Tags:

Share this post:

Comments (12)

[…] Introducing UI Templates for Xamarin.Forms (Prabakaran Ramasamy) […]

Is it free?

Ginger Reed | Syncfusion
Ginger Reed | Syncfusion

Hi Fitouri,

Yes, these tools for free with our Community License. You can check here to see if you’re eligible: https://www.syncfusion.com/products/communitylicense

Warm regards,
Ginger

How about creating your own templates? We have several developers working on numerous projects (old and new), we could benefit from a centralized template directory.

Ginger Reed | Syncfusion
Ginger Reed | Syncfusion

Hello, Martin.

You can create your own templates and reuse it everywhere you want in your Xamarin.Forms project. Syncfusion provides more than 50 UI views for Xamarin.Forms for building any complex UIs in cross-platform Xamarin.Forms development. If want something else, please feel free to reply to this post, we are happy to assist you.

Warm regards,
Ginger

Hello excellent post, it hurts that you can not see the link of the license and another page of Syncfusion in Venezuela ..

This is an outstanding start!! Keep it up… this can be really helpful to the community for many reasons. Thank you!

Prabakaran Ramasamy
Prabakaran Ramasamy

Hi FLOYD PRATHER,

Thank you very much!!! Your words are really encouraging us. I think you will also like some more addition to the Xamarin.Forms which are explained in the following post.

https://blog.syncfusion.com/post/whats-new-in-2019-volume-1-syncfusion-xamarin-highlights.aspx

Regards,
Prabakaran

Prabakaran Ramasamy
Prabakaran Ramasamy

A new version of Essential UI Kit will be released with over 35 templates, go to the link below for more information.

https://blog.syncfusion.com/post/sneak-peek-new-essential-ui-kit-for-xamarin-forms.aspx

Hello Prabakaran,

It is so exciting that a new UI kit is coming soon. Thank you for that and we hope to get it very soon.
I have a question though. I was not able to find the old UI kit in my Visual Studio Community 2019 installation template. I have installed SyncFusion community edition, but I couldn’t find the menu items that allow me to add login, sign up and register pages. The option isn’t available from the .net standard project context menu and the add new item dialog box too. I was wondering if you could help.

Thanks

Prabakaran Ramasamy
Prabakaran Ramasamy

Hi Zekarias

The templates have been removed from the existing Xamarin plugins and will be released as a separate product called “Essential UI Kit for Xamarin.Forms” with more than 35 screens. We expect it to be released in a few days and you will be notified after the release. Until then, thank you for your patience.

Regards,
Prabakaran

Prabakaran Ramasamy
Prabakaran Ramasamy

The Essential UI Kit for Xamarin.Forms has been published and the entire source code can be found in the link below.

https://github.com/syncfusion/essential-ui-kit-for-xamarin.forms

To add the screens to your Xamarin.Forms project, download and install the following Visual Studio extension.

https://marketplace.visualstudio.com/items?itemName=SyncfusionInc.Essential-UI-Kit-Xamarin-Forms

Comments are closed.

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed