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.
通过 CLI 安装
手动安装
复制并粘贴以下代码:
LineShadowText.vue
API
Prop 名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
shadowColor | string | "black" | The color of the shadow effect |
class | string | "" | Additional CSS classes for custom styling. |
as | string | "span" | The HTML element to render the text as. |
功能特性
- Slot-Based Content: Supports default slots for dynamic content, making it flexible for various use cases.
感谢
- Credits to SivaReddy Uppathi for this component.
- Ported from Magic UI's Line Shadow Text