🎨
Seriously Asking
  • 🖌️Home
  • INTRODUCTION
    • Training
      • Self Paced Training
    • Development Tools
      • Software Tools
      • Hardware Tools
    • Functions
      • Embedded Software Integration
      • Wi-Fi and Ethernet
      • Universal Serial Bus
      • Wired Communication
      • Wireless Communication
      • Touch Sensing
      • Motor Control
      • Power Conversion
      • Signal Conditioning
      • Digital Signal Processing
      • Machine Learning
      • Authentication
      • Hardware-Software Integration
    • Projects
      • Getting Started
      • Power Conversion
      • 8-bit PIC Microcontrollers
      • 8-bit PIC AVR Microconrollers
      • 16-bit PIC Microcontrollers
      • 32-bit SAM Microcontrollers
      • 32-bit SAM Microprocessors
    • Products
      • 8-bit PIC Microcontollers
      • 8-bit AVR Microcontrollers
      • 16-bit PIC Microcontrollers and dsPIC DSCs
      • 32-bit Microcontrollers
      • 32-bit Microprocessers (MPUs)
      • Analog
      • RF and Wireless Products
      • Clock and Timing
      • Field Programmable Gate Arrays
      • Programmable Logic Devices
      • Data Center Solutions
    • Store
    • Help
  • identity
    • Logos
    • Colors
    • Typography
    • Imagery
  • Components
    • Icons
    • Buttons
    • Inputs
Powered by GitBook
On this page
  1. Components

Icons

PreviousImageryNextButtons

Last updated 2 years ago

Good to know: you can embed a Storybook canvas by simple pasting the canvas link and hitting enter.

An Icon is a piece of visual element, but we must ensure its accessibility while using it. It can have 2 purposes:

  • decorative only: for example, it illustrates a label next to it. We must ensure that it is ignored by screen readers, by setting aria-hidden attribute (ex: <Icon icon="check" aria-hidden />)

  • non-decorative: it means that it delivers information. For example, an icon as only child in a button. The meaning can be obvious visually, but it must have a proper text alternative via aria-label for screen readers. (ex:<Icon icon="print" aria-label="Print this document" />)

These examples are taken from the excellent .
Storybook Example Design System