I am trying to play around with the Material Design stuff for AngularJS. The Project can be seen here. I'm trying to do a basic project. This has led me to two questions about material design.
How do I use an icon for a button? I ran git submodule update --init per the docs. I have the icons directory. However, I do not understand how to actually use a button. For instance, I want to use the refresh icon (/icons/system_icons/av/res/2x_web/ic_loop_24dp.png), so I'm trying the following:
However, the icon is off-center. How should I fix this?
How do I setup navigation up in the app?
Thank you!
Related
I am using Ant Design UI in my application. I've searched for results but Google doesn't show me the clearly way for my case.
According the design, I have to build the layout for each of tabs (image).
Could you give me some advises for building this layout? Thank you for your helps!
I created a modal using reactstrap and while opening the modal it blurs the background and coming to the front, but after creating build and running using express it does not blur the background and does not comes forward. Why is the react and how can I resolve it. I tried looking for different solutions but I was unable to find anything corresponding to it.
Code for reference : Modal Page
Let me know if anyone needs any further information.
***you can use material-UI Modal. ***
I have been working on this Material UI Rich Text Editor over here
https://www.npmjs.com/package/material-ui-rte
I'm trying to follow best practices for both React and Material-UI so that anyone can pick it up and drop it in their project and it just works with Material
I'm having an issue where after running my build script and trying to actually import the editor into a project, I'm not getting any theme passed into the components in the editor, so palette colors or font families are not being represented in the editor at all which I thought they would be
When actually cloning the repo and running the start script, playing with the demo works with the theme when pulling the Editor from the src component but pulling it in from the lib directory like a normal use case would does not work with the theme.
Here is a codesandbox to illustrate this, I've set the theme to have a text color of lime green and the editor is not rendering this color at all. But if you clone and run the actual repo, the editor does use the lime color
https://codesandbox.io/embed/create-react-app-dw7gh
I would love some direction on this. Am I doing something wrong or missing something that material expects? Did I set up my build script wrong?
The theme propagation relies on a singleton to work. I would encourage the usage of #material-ui/styles as a peer dependency. Right now, it seems that you publish it: https://unpkg.com/material-ui-rte#1.1.3/lib/index.js. You should change that.
Now I am developing react native app using material design, I am using react-native-material-ui package.
However, I can't add some icons in searchable on toolbar.(on searchable function).
like this link : https://material.io/design/navigation/search.html#expandable-search
please help me about this.
Thanks
Updated the code in this link. Please check:---
https://snack.expo.io/rkhB5Jog7
I came accross a form wizard by Afrad on github material-wizard and will like to implement it because of its angular-material properties. The downside is that the text-boxes turn out totally different from the angular styling. Is there a way to fix this? what causes this and how do you go about the fix. I have tried using ngWizard as well and face the same issue. the forms display okay without being encapsulated in the wizard directive.
A link to a plunker showing the demo is on the github page. Attached below is a snapshot of the plunker.