You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vue-search-input

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-search-input

A Vue.js 3 search input component, inspired by the global search input of Storybook and GitHub.

1.0.1
Source
npmnpm
Version published
Weekly downloads
556
3.93%
Maintainers
1
Weekly downloads
 
Created
Source

vue-search-input

A Vue.js 3 search input component, inspired by the global search input of Storybook and GitHub.

The SearchInput component displays a search input with some additional features built-in.

Features:

  • Includes default styling but it's completely customizable with slots.
  • Displays an x icon on the right side of the search input, used for clearing the text when there's a value typed inside.
  • Focus on the search input at any time by pressing the / key on the keyboard.
  • The search text gets cleared by pressing the esc key when the search input has focus.

Important: It is advisable that you include the SearchInput component only once on each page.
In case multiple SearchInput components are present, the first one being displayed will take focus precedence upon the / keypress.

Installation

npm i vue-search-input

Keywords

loader

FAQs

Package last updated on 17 Jan 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.