Contributing icons
Designing icons for CedarHave a new icon in mind? If you haven’t found an icon in the Cedar icon library to suit your purpose, consider contributing a new one.
To get started:
- Read our foundational icon guidelines to make sure your icon design is consistent with REI style.
- Check the icon contribution requirements on this page for information on display dimensions, naming conventions and more.
- To add your icon to the Figma icon library, reach out to the team on the #cedar-user-support Slack channel.
- If you need help designing and creating your icon idea, the Cedar team is happy to consult with you.
Make sure your icon meets the following requirements:
Single Path:
Each Cedar icon must be composed of a single path object.
Style:
- 2px stroke weight
- 1px radius rounded edges and terminals
- Pixel aligned for proper anti-aliasing and rasterizing
If you need to modify these style rules, first reach out to the Cedar team for feedback.
Dimensions:
Icons must be created at 24x24px size format. However, they can be displayed in any one of three sizes:
- Small: 16x16px
- Medium: 24x24px
- Large: 32x32px
Naming conventions
Cedar icons follow the kebab-case naming convention. For example, {group(s)}-{name}-{variation}-{size}.svg:
- {groups}: A namespace for alphabetized grouping. Could be more than one
- {name}: The name of the icon
- {variation}: Variations of the same icon - fill vs stroke - horizontal vs vertical
- {size}: sm for 16px and lg for 32px. 24px icons don't have a size suffix
File name examples:
arrow-down.svgarrow-left.svgarrow-right.svgarrow-up.svgcheck-fill.svgcheck.svgcheck-lg.svgcheck-sm.svgcheck-stroke.svgmenu.svggear-tent.svggear-tent-outline.svggear-backpack.svggear-backpack-stroke.svggear-sleeping-bag.svggear-bike.svggear-boating-kayak.svggear-boating-canoe.svggear-boating-paddleboard.svg