Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 553 Bytes

components.md

File metadata and controls

18 lines (13 loc) · 553 Bytes

Components

Think in components. Consider each piece of your UI as an individual "component".

Naming components

Components will be named with at least two words, with a dash between each word. Examples of components:

  • A like button (.like-button)
  • A search form (.search-form)
  • A news article card (.article-card)
  • A namespaced component (.rico-custom-header)

How do you write a component exactly? Let's learn about Elements. Continue →