Skip to content

Instantly share code, notes, and snippets.

View tutods's full-sized avatar
👨‍💻
Learning SolidJS

Daniel Sousa tutods

👨‍💻
Learning SolidJS
View GitHub Profile
@kmelve
kmelve / InputPicker.js
Last active August 16, 2024 21:15
CUSTOM SANITY STUDIO INPUT COMPONENT FOR FONT-AWESOME
/**
* CUSTOM SANITY STUDIO INPUT COMPONENT FOR FONT-AWESOME
*
* This is a proof of concept custom input component that loads the whole free library of font awesome icons and makes them
* searchable in a downshift component. If they're selected the font name will be saved as a string on the document.
*
* Install dependencies in your studio folder with:
* yarn add @fortawesome/fontawesome-svg-core @fortawesome/react-fontawesome @fortawesome/free-solid-svg-icons downshift
*
* Use as a custom input component in your shcema: