• Design Tokens
    • Icons
    • Colors
    • Border Radius
    • Size
    • Space
    • Ratio
    • Time
    • Font Size
    • Font Family
    • Line Height
    • Z Index
  • Components
    • Carousel / Slider
    • Character Counter
    • Class Toggle
    • Command menu
    • Contrast checker
    • Date Picker
    • Dot Matrix Clock
    • Drawer
    • Form Validation
    • Gauge
    • Graph
    • Icon
    • Panel
    • Popout
    • Relative Time
    • SVG to Base64
    • Search menu
    • Select
    • Select 2 Range
    • Select Multiple
    • Show / Hide Password
    • Tab
    • Tab Group
    • Table Actions
    • Table Search & Sort
    • Toast
  • Search

SVG to Base64

This component converts SVG file or pasted code into Base64 encoded string to be used with CSS variable.

Examples (1)
Example Code
<as-svg-to-base></as-svg-to-base>
Files
  • as-svg-to-base64-component.js
  • as-svg-to-base64-component.css