Skip to content

Neumorphism dropdown box design for HarmonyOS.

License

Notifications You must be signed in to change notification settings

Applib-HarmonyOS/Dropdown

Repository files navigation

Neumorphism_Dropdown

Installation :

Install using npm

npm i hmos-neumorphism

Dropdown

Import:

<element name='neudropdown' src='../../../../../../node_modules/hmos-neumorphism/dropdown/dropdown.hml'></element>

Usage:

<neudropdown width="200px" height="50px" border="10px" @change-event="dropdownSelect">
  <select @change="dropdownSelect">
    <option value="Item 1">Item 1</option>
    <option value="Item 2">Item 2</option>
    <option value="Item 3">Item 3</option>
    <option value="Item 4">Item 4</option>
    <option value="Item 5" selected="true">Item 5</option>
  </select>
</neudropdown>

Reference:

neumorphism.io

ismail9k.github.io/neomorphism