Cardiff Council Content and design system

www.cardiff.gov.uk

App

viewers

Pdf page viewerMarkdown viewMap Image

popups

How to: Animate a popupHow to: Create a popupSuccess popup (page removal)Message popupSuccess popup (and or go to new route)

pages

Base pageHome pageProcess pageDetails page

layout

Section headingDividerNoteMarginsError labelHeadingHighlightAlertNotifyAnimationTextStandard header iconsLinks

input

SwitchTime pickerPickerCheckboxText editorMapSearch bar with GPSSearch addressSearch barText entry

buttons

EditCancel buttonVertical transparent buttonVertical inverted buttonTag buttonCarousel buttonCallout button (Main)Vertical buttonNext / Back buttonsClose buttonInfo buttonFull button

accessibility

AutomationProperties.IsInAccessibleTreeAutomationProperties.NameAutomationProperties.HelpTextUseful docs

Animation

A lottie control to allow use of animations from Lottie files.

How to use this component

Used to provide bits of animation into the app.
We must make sure that any animation fits in the with the current style of the app, its icons and animations.


Code Resource


Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/site/wwwroot/wp-content/themes/huntsman-child/single-mobile.php on line 96
<lottie:AnimationView Animation="Bulky.json"
                                  HeightRequest="400"
                                  HorizontalOptions="Center"
                                  IsPlaying="True"
                                  Loop="False"
                                  Speed="0.6"                
                                  VerticalOptions="Start"
                                  WidthRequest="400" />

Loop=”True”
Speed=”0.6″

 <StackLayout HeightRequest="200">
            <lottie:AnimationView Animation="Bulky.json"
                                  HeightRequest="400"
                                  HorizontalOptions="Center"
                                  IsPlaying="True"
                                  Loop="False"
                                  Speed="0.6"
                                  TranslationY="-80"
                                  VerticalOptions="Start"
                                  WidthRequest="400" />
        </StackLayout>