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.

Install using CLI

npm
pnpm
bun
yarn
npx shadcn-vue@latest add "https://inspira-ui.com/r/line-shadow-text.json"

Install Manually

Copy and paste the following code

LineShadowText.vue

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.

Features

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

Credits