Text Reveal Card
Mousemove effect to reveal text content at the bottom of the card.
API
Prop Name | Type | Description |
---|---|---|
class | String | Additional classes to be added to the card. |
starsCount | Number | Control the number of stars that are generated |
starsClass | String | Additional classes to be added to the stars floating on content. |
Slot Name | Description |
---|---|
header | String |
text | Display default text when the card is not hovered over. |
revealText | Text to be revealed when hovered over the card. |
Component Code
You can copy and paste the following code to create these components:
Credits
- Credits to M Atif for porting this component.
- Ported from Aceternity UI's Text Reveal Card.