segmentio / evergreen

🌲 Evergreen React UI Framework by Segment
https://evergreen.segment.com
MIT License
12.38k stars 830 forks source link

Component Request: Card Component #1523

Closed JayKania closed 1 year ago

JayKania commented 1 year ago

I guess can make a component in which we would have the following props:

  1. Image
  2. Title
  3. Subtitle
  4. Description
  5. Card Actions
brandongregoryscott commented 1 year ago

Hey @JayKania - while we do have a Card component, it is a really primitive component (essentially a Pane with a border radius), but it does allow for very flexible styling using css props.

We haven't found enough use cases for an opinionated component like you're describing, so I would recommend composing your own version with components like Pane, Card, Image, Heading, Paragraph, Text, and Button.