Overview
The Natura Design System includes a comprehensive icon library through the@naturacosmeticos/natds-icons package. Icons are available in multiple sizes and can be easily integrated into your components.
Installation
Icons are included with the main packages, but you can also install them separately:Using the Icon Component
Basic Usage
With Sizes
Icons support 11 different sizes:With Colors
Icon Naming Convention
Icons follow a consistent naming pattern:- Style:
filled,outlined - Category:
action,alert,content,navigation,communication, etc. - Name: descriptive name of the icon
Examples
filled-action-addoutlined-action-deletefilled-alert-infooutlined-content-createfilled-navigation-menu
Using with Other Components
With Buttons
With Icon Button
With Chips
Loading Icons via CDN
For web projects, you can load the icon font via CDN:Loading from node_modules
If you prefer to serve fonts from your own assets:Available Icon Categories
Action Icons
add, delete, edit, search, settings, etc.
Alert Icons
info, warning, error, success, check, etc.
Content Icons
copy, create, filter, save, etc.
Navigation Icons
menu, arrow, chevron, expand, etc.
Communication Icons
chat, email, call, message, etc.
Social Icons
facebook, twitter, instagram, linkedin, etc.
Accessibility
Decorative Icons
For decorative icons, no additional accessibility attributes are needed:Meaningful Icons
For icons that convey meaning, add anaria-label:
With Screen Reader Text
Best Practices
Use appropriate sizes
Use appropriate sizes
Match icon sizes to the surrounding content. For example, use
small icons in buttons and tiny icons in dense lists.Maintain consistency
Maintain consistency
Use the same icon style (filled or outlined) throughout your application for consistency.
Provide context
Provide context
Always provide alternative text or labels for icons that convey information, especially for interactive elements.
Test contrast
Test contrast
Ensure icons have sufficient color contrast against their backgrounds for accessibility.
Finding Icons
Explore all available icons in the Storybook:Icon Gallery
Browse the complete icon library in Storybook
Related Documentation
Icon Component
Full Icon component API
Icon Button
IconButton component
Button Component
Using icons in buttons
GitHub Repository
natds-icons source code

