- Notifications
You must be signed in to change notification settings - Fork291
✏️ Tool to create your own react-content-loader easily.
danilowoz/create-content-loader
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
react-content-loader it is a SVG component to create placeholder loading, like Facebook cards loading or also known as skeleton UI. So using thisonline tool you will be able to create your own loader easily. You just need to draw using the canvas and get the snippet ready for:
- ReactJS;
- React Native;
- VueJS;
- Angular;
- SVG/HTML;
- Maybe Gif someday;
Still not clear?Read the documentation ofreact-content-loader
Add your loading code in the gallery following the steps bellow and help the community grows.
- Build your custom amazing loading component;
- Create a file with a custom name,here;
- Use the following boilerplate (don't forget to fill the metadata);
- Insert the file in the gallery,here;
- Open a pull request, don't you know how to do it?Read this;
importReactfrom'react'importContentLoaderfrom'react-content-loader'const__NAME_OF_LOADER__=props=>{return(<ContentLoaderheight={40}width={1060}backgroundColor="#d9d9d9"foregroundColor="#ecebeb"{...props}> // your loader</ContentLoader>)}__NAME_OF_LOADER__.metadata={name:'__REPLACE_ME__',// My namegithub:'__REPLACE_ME__',// Github usernamedescription:'__REPLACE_ME__',// Little taglinefilename:'__REPLACE_ME__',// filename of your loader}exportdefault__NAME_OF_LOADER__
This project was bootstrapped withCreate React App, so in the project directory, you can run:
Runs the app in the development mode.
Openhttp://localhost:5173 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Thanks goes to these wonderful people (emoji key):
This project follows theall-contributors specification. Contributions of any kind welcome!
About
✏️ Tool to create your own react-content-loader easily.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
