LibraryError State
FREEstates
Error State
Failures happen — show users a clear, friendly error block with a retry action instead of a blank screen. Bind Visible to your error flag or !Connection.Connected.
Palette:
Original palette · works in every Power Apps locale
Paste directly into Power Apps Studio
Something went wrong
Check your connection and try again.
Try againYAML source
# Error State — PowerBlocks (FREE)
# Show it when loading fails: bind Visible to your error flag, e.g.
# Visible: =varLoadFailed (set it in your OnVisible with IfError)
# or to connectivity: Visible: =!Connection.Connected
- ErrorState:
Control: GroupContainer
Variant: ManualLayout
Properties:
Width: =420
Height: =240
Fill: =RGBA(23, 23, 23, 1)
BorderColor: =RGBA(239, 68, 68, 0.4)
BorderThickness: =1
RadiusTopLeft: =16
RadiusTopRight: =16
RadiusBottomLeft: =16
RadiusBottomRight: =16
DropShadow: =DropShadow.None
Visible: =true
Children:
- ErrIcon:
Control: Classic/Icon
Properties:
Icon: =Icon.Warning
X: =(Parent.Width - 40) / 2
Y: =32
Width: =40
Height: =40
Color: =RGBA(239, 68, 68, 1)
- ErrTitle:
Control: Label
Properties:
Text: ="Something went wrong"
X: =24
Y: =86
Width: =Parent.Width - 48
Height: =28
Align: =Align.Center
Color: =RGBA(255, 255, 255, 1)
Size: =15
FontWeight: =FontWeight.Semibold
- ErrSubtitle:
Control: Label
Properties:
Text: ="We couldn't load your data. Check your connection and try again."
X: =24
Y: =116
Width: =Parent.Width - 48
Height: =40
Align: =Align.Center
Color: =RGBA(156, 163, 175, 1)
Size: =12
- ErrRetry:
Control: Classic/Button
Properties:
Text: ="Try again"
X: =(Parent.Width - 140) / 2
Y: =168
Width: =140
Height: =42
Fill: =RGBA(31, 41, 55, 1)
HoverFill: =RGBA(55, 65, 81, 1)
Color: =RGBA(255, 255, 255, 1)
BorderThickness: =0
Size: =12
FontWeight: =FontWeight.Semibold
RadiusTopLeft: =10
RadiusTopRight: =10
RadiusBottomLeft: =10
RadiusBottomRight: =10
OnSelect: |-
=// TODO — retry your load, e.g. ClearCollect(colRecords, YourSource)
false