Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

adwaveui

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adwaveui

Interactive Web Components inspired by the Gtk Adwaita theme.

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-16.67%
Maintainers
1
Weekly downloads
 
Created
Source

ADWave UI

Web Components inspired by the Gtk's Adwaita theme.

Examples

Components

  1. Input
  2. Selector
  3. Slider
  4. Switch

Input

<adw-input
    placeholder="Put in your name"
></adw-input>

Properties

PropertyDescriptionDefault
disabledIf the input is disabled or not."false"
formThe form the input belongs to.
maxlengthThe maximum length of the input.
minlengthThe minimum length of the input.
nameThe name of the input, used when submitting a form.
placeholderText displayed when the input is empty.
suggestionsList of suggested strings to display when the input is focused.
suggestionsorientationDetermines whether the list of suggestions appears above or below the input field. up or down."down"
suggestionsshowallSet to "true" to always display all the suggestions."false"
fuzzyWhen set to "true" the suggestions will be filtered using a fuzzy search algorithm as the user types. By default filtering is done using a simple string match.
typeThe type of the input. (text, password, email, etc.)"text"
valueThe current value of the input.

Selector

<adw-selector placeholder="Select option">
    <adw-option value="1" selected="true">
        Option 1
    </adw-option>
    <adw-option value="2">
        Option 2
    </adw-option>
    <adw-option value="3">
        Option 3
    </adw-option>
</adw-selector>

Properties

PropertyDescriptionDefault
disabledIf the selector is disabled or not."false"
formThe form the selector belongs to.
nameThe name of the selector, used when submitting a form.
orientationDetermines whether the list of options appears above or below the selector. up or down."down"
placeholderText displayed when no option is selected.

adw-option properties

PropertyDescriptionDefault
selectedIf the option is selected or not."false"
valueThe value of the option.

Slider

<adw-slider
    min="0"
    max="100"
    value="50"
></adw-slider>

Properties

PropertyDescriptionDefault
disabledIf the slider is disabled or not."false"
formThe form the slider belongs to.
maxThe maximum value on the slider.100
minThe minimum value on the slider.0
nameThe name of the slider, used when submitting a form.
precisionThe number of decimal places to round the value to.4
stepThe amount to increment or decrement the value by when moving the slider.1
valueThe current value of the slider.

Switch

<adw-switch
    active="true"
></adw-switch>

Properties

PropertyDescriptionDefault
disabledIf the switch is disabled or not.
formThe form the switch belongs to.
nameThe name of the switch, used when submitting a form.
activeIf the switch is active or not."false"

Keywords

FAQs

Package last updated on 25 Mar 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc