Documentation
Utilities
Shadow

Shadow

We provide a basic className has-shadow that can be used to define shadow on elements.

Preview

Code

HTML

Code

JSX/TSX

And also provide a series of shadow classes to adjust the appearance of shadow.

You can also combine these classes with your own discretion.

  • wider widest compact control the radius of the shadow
  • bolder boldest control the color saturation of the shadow
  • rainbow a unique className to generate a shadow like rainbow
Preview

Code

HTML

Code

JSX/TSX
default
wider
widest
compact
compact bolder
compact boldest
bolder
boldest
boldest widest
rainbow