Basic example
For light design and bright compositions use standard shadows. To apply a shadow to an element simply add one of the following classes to it.
.shadow-none
removes shadows
.shadow-1
.shadow-2
.shadow-3
.shadow-4
.shadow-5
Hey there 👋 we want to make TW elements a community-driven project. It's open source and free, and we would like it to stay that way. If you enjoy it, help the project grow by sharing it with your peers. Every share counts, thank you!
Strong shadows
For dark design and dark elements use strong shadows by adding
-strong
to the shadow class. For example:
.shadow-2-strong
Inner shadow
Use the .shadow-twe-inner
utility to apply a subtle inset box
shadow to an element. This can be useful for things like form controls or
wells.
Shadow on hover
Use .transition-shadow
class to the element to apply a shadow
hover effect.

Images with shadow
Theoretically, depending on the brightness of the image you should use standard or strong shadow. However, practical use shows that in most graphics strong shadows work better in most cases with images.





