Ridiculously Simple Power Apps Drop Shadow Technique

Ridiculously Simple Power Apps Drop Shadow Technique

The new Power Apps drop shadow property for containers makes it easy to your apps look modern and stylish. We don’t need to write complex CSS anymore to achieve shadows in Power Apps. Now we only have to choose a drop shadow weight from the properties menu. In this article I will show you how to create a drop shadow in Power Apps.

Table of Contents
• Create A Container With A Drop ShadowRound Container Drop Shadow Corners Using Border RadiusAdd Controls To The Drop Shadow Container




Create A Container With A Drop Shadow

Add a new container to a Power Apps canvas app. The container type can be a vertical container, a horizontal container or a float container.



Select a drop shadow weight from the right-side menu. In this example we will choose a semi-bold drop shadow.



The container control now has a shadow around its border.




Round Container Drop Shadow Corners Using Border Radius

A drop shadow can be rounded by changing the border radius property of the container.



While selected on the container change its Border Radius property to 10 pixels.




Add Controls To The Drop Shadow Container

Once the container with a drop shadow is setup we can place some more controls inside of it to make a card.



The Font and Size properties for the title of the card above are:

Font: Font.'Lato Black'
Size: 20



And the Font and Size properties for the body of the card are:

Font: Font.'Open Sans'
Size: 16



The emojis were created by inserting a label onto the screen and pressing the [Windows] + [Period] hotkey on a Windows computer.





Questions?

If you have any questions or feedback about Ridiculously Simple Power Apps Drop Shadow Technique please leave a message in the comments section below. You can post using your email address and are not required to create an account to join the discussion.

Matthew Devaney

Subscribe
Notify of
guest

16 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Daniel Dianin
Daniel Dianin
1 year ago

hoowwwww. Finaly! Goodbye HTML + CCS style.

Thanks Matthew

Duncan Cunningham
Duncan Cunningham
1 year ago

Remember to add what version of PowerApps you need to be running. I think it’s not the current one. Maybe I missed that part when browsing through the article.

Bijumon
Bijumon
1 year ago

Thank You Matthew 😊

Stephanie
1 year ago

FINALLY!!! I have a great shadow box component that I’ve been using, but this is SO much easier and cleaner.

Carlos BK
Carlos BK
1 year ago

This is awesome. I can’t believe I missed this when I looked at containers. Thanks MD

Sam
Sam
1 year ago

It’s awesome. Drop it inside a gallery and your gallery cards are done! Thanks Matthew.

T Marks
T Marks
1 year ago

I love that Microsoft dropped this right under our noses! Love this feature!
Going to make galleries and displays way easier than using a Button, and a container and building on that!

Thanks for showing it off Matthew

Last edited 1 year ago by T Marks
antBro
antBro
1 year ago

hi, any thoughts on how to deal with onSelect of the components within the container? They cannot find the parent anymore

Rob
Rob
1 year ago

Quick tip… you can drop a Form in a container to create forms with rounded corners even easier than before (previously required a Text Input with rounded corners inside of a container to achieve).

David Wallach
David Wallach
9 months ago

Is there a way to apply a hover effect to the Container shadow, i.e. it changes from Semilight to Bold on hover?