Storybook & Atomic Design - 1.5. - Building Our Button

whatjackhasmade on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateDesign Systems8 min

About this video

A lesson revisiting the Button component in a React Storybook pattern library, adding props, multiple stories, an onClick handler, a swappable HTML element and PropTypes. It is aimed at developers building atomic design components.

What you’ll learn

  • Pass multiple props to a React component
  • Write multiple Storybook stories for a single component
  • Attach an onClick function and use PropTypes to type component props