Skip to content

snappmarket/frontend-toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

βš™ SnappMarket frontend powerful tools

version downloads PRs Welcome MIT License CodeFactor

All Contributors

hooks, helpers, ui components and icons that we used in new version of snappmarket website

demo

You can see demo at : https://ft-box.netlify.com/

get started

npm i @snappmarket/ui
npm i @snappmarket/hooks
npm i @snappmarket/helpers
npm i @snappmarket/icons
npm i @snappmarket/config

// OR 

yarn add @snappmarket/ui
yarn add @snappmarket/hooks
yarn add @snappmarket/helpers
yarn add @snappmarket/icons
yarn add @snappmarket/config

βš’ Hooks Found Here

Hook Name Description
useDebounce πŸ”‚ Change rapidly, do once
useDidUpdateEffect 🧡 Do not worry about render phase effect calls
useFocus 😡 Focus on every thing you want
useForceUpdate πŸ‘Ώ force update component
useGeoLocation πŸ—Ί easily deal with navigator location API
useRouteChange 🏹 detect when react router dom route changes
useTimer ⏱ easily handle timing

πŸ’ˆ UI Components found here

Component Description
Accordion Accordion Ui component
Alert Alert Ui component
Breadcrumb Breadcrumb Ui component
Button Button Ui component
Checkbox CheckBox Ui component
ConfirmDialog ConfirmDialog Ui component
Dialog Dialog Ui component
Grid Grid Ui component
GridSystem GridSystem Ui component
Icon Icon Ui component
Image Image Ui component
Input Input Ui component
InputRange InputRange Ui component
Range Range Ui component
Range Range Ui component
Json Json Ui component
Label Label Ui component
LinedText LinedText Ui component
Loading Loading Ui component
Modal Modal Ui component
OptionGroup OptionGroup Ui component
Radio Radio Ui component
Pagination Pagination Ui component
ProgressBar ProgressBar Ui component
Skeleton Skeleton Ui component
Slider Slider Ui component
TabSwitcher TabSwitcher Ui component
TextWrap TextWrap Ui component
Toggle Toggle Ui component
Tooltip Tooltip Ui component

πŸ’Š Helpers Found Here

Helper Methods
ArrayHelpers arrayItemAddProp ,flattenArray ,serializeObject ,stringifyArray ,deepFlatten
CookieHelpers getCookie, setCookie
DebugHelpers delog, ApiError, globalErrorCatcher
HttpHelpers fetchWithTimeOut, universalCall
JsonHelpers recursiveJsonParse
MapHelpers isLocationInIran
NumberHelpers persianNumber, englishNumber, generateKey, cellphoneValidate, cellphoneValidatePattern, currencyPrice
ObjectHelpers removeByKey, flattenObject, makeCookieString, safeObjectPropertyRead, getNextProp
OSHelpers getOSName, getAgent
PromiseHelpers racePromise, makeTimeout, emptyPromise
ProxyHelpers onChangeReflector
ReduxHelpers actionMaker, normalizeActionType, configPersistor
StorageHelpers getLocalStorageData
StringHelpers stringReplace, bulkStringReplace
TemplateHelpers HexToRgb, defineForegroundColor, makeRgba, decideMeasurement, makeShadow
WindowHelpers getPathName, getWindowSize

πŸ’Ž Icons found here

All icons has svg file, react component, and an special sprite svg

  • πŸ’― 100% tested react 100+ svg icon components

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Jafar Rezaei

πŸš‡ ⚠️ πŸ“– πŸ’» πŸ€” 🚧 πŸ“¦ πŸ‘€

Reza Erami

πŸš‡ ⚠️ πŸ“– πŸ’»

mahsa mesbah

⚠️ πŸ“– πŸ’»

Mostafa Rastegar

πŸ€” ⚠️ πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy