1.0.10 • Published 1 year ago

vue-shadow-text v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Vue Shadow Text

A very simple component to easily add a shadow beneath some text to aid readability when overlaying on an image.

Basically it's just adding some simple CSS to the text but it helps not having to remember the syntax.

Without/With ShadowText

Installation

npm install vue-shadow-text

In main.js

import ShadowText from 'vue-shadow-text'

createApp(App)
    .use(ShadowText)
    .mount('#app')

Usage

<shadow-text>This text is drop shadowed</shadow-text>

Props

shadow-color

Specify the shadow color as a string, eg '#FF0000' or 'rgba(255, 0, 0, 0.5)'

Default: #000000;

shadow-size

Specify the shadow size as a string, eg "10px" or "0.3em"

Default: 0.7em;

1.0.10

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago