Skip to content

Commit 1221938

Browse files
Maharshi AlpeshMaharshi Alpesh
Maharshi Alpesh
authored and
Maharshi Alpesh
committed
docs(card): adding info regarding the gradient for blurred card
1 parent c2c3534 commit 1221938

File tree

1 file changed

+3
-1
lines changed
  • apps/docs/content/docs/components

1 file changed

+3
-1
lines changed

apps/docs/content/docs/components/card.mdx

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,12 @@ You can use other NextUI components inside the card to compose a more complex ca
7373

7474
### Blurred Card
7575

76-
You can pass the `isBlurred` prop to the card to blur the card.
76+
You can pass the `isBlurred` prop to the card to blur the card. Card gets blurred properties based on its ancestor element.
7777

7878
<CodeDemo isGradientBox title="Blurred Card" files={cardContent.blurred} />
7979

80+
**Note**: While trying out the above example, it is required to provide the necessary background to any ancestor element of the Card component to obtain the `blur` effect as seen in the preview.
81+
8082
### Primary Action
8183

8284
If you pass the `isPressable` prop to the card, it will be rendered as a button.

0 commit comments

Comments
 (0)