carbon-design-system / ibm-products

A Carbon-powered React component library for IBM Products
https://ibm-products.carbondesignsystem.com
Apache License 2.0
90 stars 134 forks source link

Define pattern demo code #5652

Open oliviaflory opened 1 month ago

oliviaflory commented 1 month ago

We have defined a pattern as: something that can be accomplished in multiple ways utilizing a combination of component(s) with additional design considerations.

We need to define what we mean by demo code so our team and our adopters know what to expect.

Example of a current use case in C4IP that Elysia considers demo code:

Example of recipes from Twilio: https://paste.twilio.design/patterns/data-export Example from gov.uk: https://design-system.service.gov.uk/patterns/complete-multiple-tasks/

### Tasks
- [ ] Create definition of pattern “code”
- [ ] Play back to the team during sprint demo

Things that may contribute to demo code —

elycheea commented 1 month ago

Content block from dotcom is another example of showing patterns in Storybook (but also content block variants that are ones we want to deprecate 👀).

kingtraceyj commented 2 weeks ago

here's some inspiration from uk.gov: https://design-system.service.gov.uk/patterns/addresses/