1 of 41

번역된 한국어 스크립트 보는 방법

상단메뉴 “보기” -> “발표자 노트 표시" 체크 후 슬라이드 하단 영역 크기 키우기

2 of 41

Storybook

A Comprehensive Introduction to Streamline Your UI Development Process

#FEFFFF

#191D20

Helvetica Neue

3 of 41

WHOAMI

Florian Ludot

Co-founder & CTO @ Avanssion inc.

Born and raised 🇫🇷 / 4yrs 🇯🇵 / now 🇰🇷

Working with dev and design teams for +8yrs

florianldt.com or @florianldt

4 of 41

Who is this for?

Designers (we will use Figma & design principles)

Front-end developers (there will be code)

Team leaders & PMs (we will talk about collaboration)

Everyone curious about design and dev, and everything in between

5 of 41

Before starting

Every underlined texts, images and Demo have links to their resources

This talk is recorded

All materials used is open source and will be provided

Prepare your questions for the Q&A session at the end of the talk

We have a lot to cover in a short time

Most importantly and hopefully, enjoy the talk

6 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

7 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

8 of 41

What’s Storybook?

“Storybook is a frontend workshop for building UI components and pages in isolation.”

9 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

10 of 41

Why should you care?

Component-Driven Development (CDD)

Component documentation

Involve all stakeholders as soon as possible

Improve testing

Isolate UI from business logic

Iterate on your product quickly

Save time & money

11 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

12 of 41

Prepare the design

Introduced by Brad Frost in 2013

Methodology for creating design systems

Originally composed of 5 distinct levels extended to 6

atomicdesign.bradfrost.com

Atomic Design

13 of 41

Prepare the design

bradfrost.com/blog/post/extending-atomic-design

Atomic Design

14 of 41

Prepare the design

15 of 41

Prepare the design

Don’t forget “easy to forget” component states (disabled, loading, …)

Document your design as much as possible

Avoid as much cognitive overhead for developers during the handoff

Involve stakeholders in your design process

Best Practices and Tips

16 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

17 of 41

Storybook: implementation

Installation

18 of 41

Storybook: implementation

19 of 41

Storybook: implementation

Provide static and sandbox stories

Document your storybook as much as possible

Test accessibility right into your stories

storybook-addon-designs to embed Figma previews

Implementing templates and pages don’t suit every projects

Involve stakeholders in your development process

Best Practices and Tips

20 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

21 of 41

Storybook: deployment

Choosing a hosting provider

with plenty of other alternatives

22 of 41

Storybook: deployment

Easy setup

Publish public or private Storybooks

All your Storybooks in one place

Git-style review & merge system for UI

Collaboration

Regression testing

Why Chromatic

23 of 41

Storybook: deployment

With Chromatic

24 of 41

Storybook: deployment

With Chromatic

25 of 41

Storybook: deployment

Storybooks are private by default

5,000 free snapshots/month

Sync your Chromatic project with the GitHub repo

Use Continuous Integration

Best Practices and Tips

26 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

27 of 41

Publish the library

+

Choose between a public or private library

Rollupjs

npm

28 of 41

Publish the library

Configuration

rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript

29 of 41

Publish the library

npm publish

30 of 41

Publish the library

Should you really publish your component library?

If yes, should it be a public or private one

Build your library using Typescript or provide types

Document your library

Write tests and provide code coverage

Use a changelog to keep track of changes

Best Practices and Tips

31 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

32 of 41

Integration

For npm

npm install tkcreativekit styled-components

For yarn

yarn add tkcreativekit styled-components

33 of 41

Integration

34 of 41

Integration

Use npm link x or npm install /local/path/to/x while testing integrations

Best Practices and Tips

35 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

36 of 41

Final key takeaways

Study Human Interface Guidelines (Web, Apple platforms, Android platforms)

Onboard and communicate with stakeholders early on

The Storybook is a living document

Start using Storybook for new projects

Gradually adopt it for existing projects

Study top company Storybooks

Get your hands dirty

37 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

38 of 41

To learn more

39 of 41

Agenda

What’s Storybook?

Why should you care?

Prepare the design

Storybook: implementation

Storybook: deployment

Publish the library

0

Integration

Final key takeaways

To learn more

Q&A

1

2

3

4

5

6

7

8

9

40 of 41

Thank you

41 of 41

Q&A