2

I want to create UI in LWC, as per images shown below :

enter image description here

enter image description here

Those icons have to be dynamic (depending upon certain conditions those will change).
I created lightning combo-box, but I am not able to icons into it.

Can anyone suggest how can do it?
Combo-box is not compulsion, if it can be done through any other way, please let me know!

  • fyi: i cannot remove my downvote unless you modify your post. – glls Oct 27 at 13:43
1

For any custom component, you can take the code reference from lightning design system.

Created a playground link for you with sample code.

Output:

enter image description here However note that you still need to handle events like open/close picklist, selection/deselection of options, etc.,.

Not the answer you're looking for? Browse other questions tagged or ask your own question.