New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

nuxt-float-label

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-float-label

## Development

latest
Source
npmnpm
Version
0.1.3
Version published
Maintainers
1
Created
Source

Nuxt Float Label

Nuxt Float Label

Developed by FMCX.

Downloads NPM

Features

  • Apply float labels automatically to your inputs, selects and textareas
  • Works on Nuxt 3
  • Fully css customizable

Quick Setup

  • Add nuxt-float-label dependency to your project
# Using npm
npm i -D nuxt-float-label
  • Add nuxt-float-label to the modules section of nuxt.config.js
{
  modules: [
    'nuxt-float-label'
  ]
}

Access the demo website.

Props

NameTypeDescriptionRequired
labelStringOverrides placeholderNo
label-classStringAttribute a custom class to the labelNo
dispatchBooleanShows float label on mountNo

Configs

To use on nuxt.config.ts

NameTypeDescription
useCssBooleanChoose to use the default css or a custom one

Example

nuxtFloatLabel: {
    useCss: false
}

Css classes

NameDescription
fl-wrapperWrapper class
fl-labelLabel class
fl-on-focusLabel on focus and blur event
fl-on-inputLabel on input event

Keywords

nuxt

FAQs

Package last updated on 05 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts