material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

Features/modifications request

Open TrySpace opened this issue 11 years ago • 5 comments

First off, I think sub-elements like <CardHeader/> should have a sub header, with documentation in the menu at: http://material-ui.com/#/components/cards And, CardHeader should have the avatar as an optional option, so when not specified, not render avatar at all.

Secondly I'd argue that perhaps the Card element doesn't need a special CardText and could use a general purpose <Text /> element. Wich brings me to the third point:

I hope the material elements list: https://www.google.com/design/spec/components/bottom-sheets.html doesn't get translated too literally, although we probably need each one of them, we should also have available basic elements like Title or Header with a size prop and perhaps alignment left/right.

And I think basic things like Dividers should have a high priority (https://www.google.com/design/spec/components/dividers.html) And I hope a grid system will be made like: https://www.google.com/design/spec/components/grid-lists.html#grid-lists-specs which will be flexible and composable enough to use without images or have some more creative freedom to make your own stuff, based on material design, not limited by it.

As for the rest, awesome work, and I'm curious to see how this project will evolve and who will find an ingenious way to implement the motion principles from MD, like pressing a floating button would zoom it in circularly into a CardMedia Header thing, or something like that... (Probably involving cloning some elements)

TrySpace avatar Aug 04 '15 09:08 TrySpace

+1 on dividers

gitdistill avatar Sep 02 '15 00:09 gitdistill

+1 for optional avatar on CardHeader

thataustin avatar Nov 14 '15 18:11 thataustin

I agree, avatar should be optional. How are other people working round this? This is what I do but euurghh:

avatar={<Avatar style={{display:'none'}}></Avatar>}

clarkie avatar Nov 16 '15 16:11 clarkie

We had a first attempt some time ago https://github.com/callemall/material-ui/pull/1879. Feel free to open a new PR to fix this :+1:.

oliviertassinari avatar Nov 16 '15 20:11 oliviertassinari

optional avatar on CardHeader

Done

alitaheri avatar Dec 06 '15 21:12 alitaheri