Chip support for Xamarin.Forms
NuGet package available at https://www.nuget.org/packages/Xamarin.Forms.Chips/
Import the Chips assembly:
xmlns:chips="clr-namespace:Xamarin.Forms.Chips;assembly=Xamarin.Forms.Chips"
And place it in your view:
<chips:Chip
Text="Hello"
OnClicked="Chip_Clicked" />
More advanced example:
<chips:Chip
Style="{Binding ChipStyle}"
Image="https://path.to.image/image.png"
CloseImage="https://path.to.image/close.png"
IsToggleable="True"
AutoToggle="True"
OnClose="Chip_Closed"
Text="World"
IsSelected="{Binding IsEnabled, Mode=OneWay}"
ClickedCommand="{Binding ChipClickedCommand}"
ClickedCommandParameter="{Binding SomeParameter}"
SelectCommand="{Binding ChipSelectedCommand}"
SelectCommandParameter="{Binding SomeParameter}"
UnselectCommand="{Binding ChipUnselectedCommand}"
UnselectCommandParameter="{Binding SomeParameter}" />
See Chip.xaml.cs for all bindable properties.