Line Shadow Text

A line shadow text component for Magic UI that adds a shadow effect to the text, making it visually appealing and engaging.

API

Prop NameTypeDefaultDescription
shadowColorstring"black"The color of the shadow effect
classstring""Additional CSS classes for custom styling.
asstring"span"The HTML element to render the text as.

Component Code

You can copy and paste the following code to create this component:

LineShadowText.vue

Features

  • Slot-Based Content: Supports default slots for dynamic content, making it flexible for various use cases.

Credits