Input field with icon - vmware-clarity

How do I get an icon before the input field in clarity ui? something like the image above.

I have done an example in Stackblitz. You can check it and feedback me if you want.

Take a look at the internal forms demo for Clarity that has an example of a search box that has the icons like you want. This is intended to eventually be made possible with the Angular form components as well.
https://github.com/vmware/clarity/blob/master/src/dev/src/app/forms/input-group/input-group.html#L75

Related

how to install material icons in google app maker

I don't quite understand exactly what i need to do to install material icons in google app maker and then how to use them. I would really appreciate anyone able to give me a step-by-step explanation. Thanks!
You don't need to install material icons you just need to use https://material.io/tools/icons/?style=baseline icon name. Just make sure that if is a button it has the "Fab" style variant for App Maker to make the change and replace the button text for the mdl icon name.
Style Variant
Text field for the widget (button)
Final result for a button.
You can also use different icons like in my case fontawesome.com. You need to get the CSS URL from the website then access to the App Maker "App Settings" and look for External Resources and add the link
After that search for an icon and will display some properties like these
Take the HTML properties to add them to the button Display > Styles as shown here.
Make sure there is nothing on "text" of the button and you will have something like this.
I had a hard time figuring this out when I was start using App Maker so I hope this helps you all.

customize carousel help required

I need suggestions in building below UI. It's a carousel like structure where active over is highlighted in green and we can still see next overs disabled or gray color.
I have researched for this for ex. Can I make use of any carousel to fit this design but can't seem to come to any conclusion. Thought of slider also but did not see that fitting this design.
Guys, do you have any suggestion or pointers to get me started here. I do not need code; just want a startup point. So far I am stuck with carousel or slider.
I understand this might not be most constructive question on SO but any pointers will be highly appreciated.
Unfortunately, you didn't provide any information about what should happen when you click on these items. If I understand correctly, you are looking for a carousel supporting your own pager design. If this is correct, you must add the pager markup first, after that you can use any carousel that supports slide switching methods. Then you can add click event listener to your pager items and call switching method in the listener, setting by that a new slide corresponding to the pager element index.
For example, you can try slick carousel, as it has .slickGoTo() method, which you can use to switch slides programmatically. You can also try to customize slick's default pager, but it might be not so easy or even impossible at all.

Angular typeahead shows suggestion on top of results

Im using Angular UI typeahead directive. I have set a custom template for the popup but, it shows a "preview" above my list of results. What is weird is if I try to inspect the infringing element, it disappears! It only shows up when I am typing. angular ui typeahead showing suggestions on top of results
You can see on the image below:
I also have set typeahead-show-hint to false. What else can I do?
Thank you
Im sorry, it was Chrome's auto suggestion kicking in. Boy, do i feel dumb.

How to add vector icons as tab in react-native-scrollable-tab-view

There is a gif image that shows you can add vector icons as tab in react-native-scrollable-tab-view as per image below:
I already look and google everywhere I can look into. I cannot find a way to do this without altering the package.
Need help on how to achieve like in this image where you can see they use vector icons as tab.
Appreciate all the help. Thanks
Actually you have to implement this TabBar by yourself. But luckily, you can mimic the "FacebookExample" to achieve it. I think it's not too difficult. Here is the js file of the Facebook TabBar.
https://github.com/ptomasroos/react-native-scrollable-tab-view/blob/master/Example/FacebookTabBar.js

Flex + Topology View

Currently I'm working on creating a view of displaying a entire school database in the form of a graphical view.
School;
Classes;
Teachers; and
Students
I display an Image for each of the above mentioned ones. I need a plugin/tool (freeware) to use to create the links between them.
My default view would be a School Image, either on click of Image / Zoom-In (Zoom-out) I want to display Classes.
When I select a click by clicking it or mouse over a particular class and zoom-in, I want to display the teachers and students.
Could some-one suggest me a tool that would help me do the same.
P.S. I've tried SpringGraph, but it lacks on a lot of features.
I would check out Flare. Check out the demo. I think you will be most interested in the Layouts section.
Another option would be the RaVis portion of the BirdEye project. The graphs it generates are pretty customizable (i.e. controlling the image used for each node), as seen in this demo. The default interactivity (double-click to navigate, information on mouse-over) is solid as well.
Check the "tour de flex"
http://www.adobe.com/devnet/flex/tourdeflex/
It's a big demo of what you can do with flex. Check the Data Visualisation part, it's contains some very nice exemple
But i doubs that you will find exactly what your are looking for, why not just code it.
A image for the scool.
a list of image for classes.
a list of teacher and student images for each classes.
OnClick + transition event
No ?

Resources