All Projects β†’ shafikulz β†’ react-shimmer-effects

shafikulz / react-shimmer-effects

Licence: other
Customizable Shimmer effects for React

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to react-shimmer-effects

Shimmer-ReactNative
React Native Shimmer
Stars: ✭ 38 (+31.03%)
Mutual labels:  shimmer
video-snapshot
Get snapshots from a video file in the browser πŸŽ₯ πŸŒ…
Stars: ✭ 63 (+117.24%)
Mutual labels:  thumbnail
hls-live-thumbnails
A service which will generate thumbnails from a live HLS stream.
Stars: ✭ 49 (+68.97%)
Mutual labels:  thumbnail
lamba-thumbnailer
AWS S3 Video Thumbnailer with Lambda
Stars: ✭ 21 (-27.59%)
Mutual labels:  thumbnail
cakephp-glide
CakePHP plugin for using Glide image manipulation library
Stars: ✭ 34 (+17.24%)
Mutual labels:  thumbnail
ShimmerView
ShimmerView is a collection of APIs to construct Skelton View + Shimmering Effect type loading indicator on UIKit and SwiftUI.
Stars: ✭ 71 (+144.83%)
Mutual labels:  shimmer
Image
PHP Image Manipulation
Stars: ✭ 12,298 (+42306.9%)
Mutual labels:  thumbnail
urlbox-screenshots-node
Capture website thumbnails using the urlbox.io screenshot as a service API in node
Stars: ✭ 14 (-51.72%)
Mutual labels:  thumbnail
YouTube-Thumbnail-Downloader
A youtube videos thumbnail downloader telegram bot.
Stars: ✭ 41 (+41.38%)
Mutual labels:  thumbnail
pdf2html
pdf2html is a module which helps to convert PDF file to HTML pages using Apache Tika. This module also helps to generate thumbnail image for PDF file using Apache PDFBox.
Stars: ✭ 55 (+89.66%)
Mutual labels:  thumbnail
ShimmerRecyclerView
A custom Shimmer RecyclerView which adopt to list / grid transition automatically and also supports multiple view types while shimmering.
Stars: ✭ 184 (+534.48%)
Mutual labels:  shimmer
stencil-shimmer
StencilJS component for adding shimmer UI effect to your applications.
Stars: ✭ 14 (-51.72%)
Mutual labels:  shimmer
tiny-skeleton-loader-react
zero dependency, ultra lightweight (1KB gzipped) skeleton loader component for react πŸ₯
Stars: ✭ 28 (-3.45%)
Mutual labels:  shimmer
WebinoImageThumb
βœ‚οΈ Webinoβ„’ Image thumbnailer for Zend Framework [LTS] http://webino.github.io/WebinoImageThumb
Stars: ✭ 40 (+37.93%)
Mutual labels:  thumbnail
SwiftUI-Shimmer
Shimmer is a super-light modifier that adds a shimmering effect to any SwiftUI View, for example, to show that an operation is in progress. It works well on light and dark modes, and across iOS, macOS, tvOS and watchOS.
Stars: ✭ 168 (+479.31%)
Mutual labels:  shimmer
video thumbnail
This plugin generates thumbnail from video file or URL. It returns image in memory or writes into a file. It offers rich options to control the image format, resolution and quality. Supports iOS and Android.
Stars: ✭ 159 (+448.28%)
Mutual labels:  thumbnail
FroshWebP
WebP Support for Shopware
Stars: ✭ 29 (+0%)
Mutual labels:  thumbnail
koleton
The easiest library to show skeleton screens in an Android app.
Stars: ✭ 84 (+189.66%)
Mutual labels:  shimmer
flutter shimmer
Shimmer effect package for flutter
Stars: ✭ 41 (+41.38%)
Mutual labels:  shimmer
ThumbnailSharp
A simple but awesome library to create a flexibel thumbnail from an image for .NET Framework 4.5+
Stars: ✭ 26 (-10.34%)
Mutual labels:  thumbnail

react-shimmer-effects

Customizable shimmer effects for React.

Live Demo

Install

npm install react-shimmer-effects --save

or

yarn add react-shimmer-effects

Elements

Shimmer Button

import React from "react";
import { ShimmerButton } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return <ShimmerButton size="md" />;
  }
}

buttons

Properties

Property Type Required Default value Description
size string yes md Three options available ["sm", "md", "lg"]

Shimmer Badge

import React from "react";
import { ShimmerBadge } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return <ShimmerBadge width={120} />;
  }
}

Properties

Property Type Required Default value Description
width number no Width of the badge in px unit

Shimmer Title

import React from "react";
import { ShimmerTitle } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return <ShimmerTitle line={2} gap={10} variant="primary" />;
  }
}

title

Properties

Property Type Required Default value Description
line number yes 2 Number of line
gap number yes 10 Gap between of lines. Four options available [10, 15, 20, 30]
variant string yes primary Tow options available ["primary", "secondary"]
className string no Additonal style classes

Shimmer Text

import React from "react";
import { ShimmerText } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return <ShimmerText line={5} gap={10} />;
  }
}

text

Properties

Property Type Required Default value Description
line number yes 5 Number of line
gap number yes 10 Gap between of lines. Four options available [10, 15, 20, 30]
className string no Additonal style classes

Circular Image

import React from "react";
import { ShimmerCircularImage } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return <ShimmerCircularImage size={150} />;
  }
}

circular-image

Properties

Property Type Required Default value Description
size number no 80 Size of Image
center bool no false Center alignment
className string no Additonal style classes

Thumbnail Image

import React from "react";
import { ShimmerThumbnail } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return <ShimmerThumbnail height={250} rounded />;
  }
}

thumbnail

Properties

Property Type Required Default value Description
width number no Width of Thumbnail. By default 100% width
height number yes 250 Height of Thumbnail.
center bool no false Center alignment
className string no Additonal style classes
rounded bool no false Border radius option enable/disable
fitOnFrame bool no false Adjust height of parent. Will block 100% of parent element

Section Header

import React from "react";
import { ShimmerSectionHeader } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return (
      <div>
        <ShimmerSectionHeader />
        <ShimmerSectionHeader center />
      </div>
    );
  }
}

header

Properties

Property Type Required Default value Description
title bool no true Section Header title
subTitle bool no true Section Header subTitle
center bool no true Content center alignment

Gallery

Simple Gallery

import React from "react";
import { ShimmerSimpleGallery } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return (
      <>
        <ShimmerSimpleGallery imageType="circular" imageHeight={200} caption />
        <ShimmerSimpleGallery card imageHeight={300} />
        <ShimmerSimpleGallery card imageHeight={300} caption />
      </>
    );
  }
}

simple-gallery

Properties

Property Type Required Default value Description
card bool no false Card Style enable/disable
row number yes 3 Number of row in your gallery
col number yes 3 Number of column in a row. Three options available [2, 3, 4]
gap number yes 20 Gap between columns. Two options only [20, 30]
imageType string yes thumbnail Image Type. Two options only ["thumbnail", "circular"]
imageHeight number Image Height
caption bool no false Image Caption
fitOnFrame bool no false Adjust height of parent. Will block 100% of parent element

Featured Gallery

import React from "react";
import { ShimmerFeaturedGallery } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return <ShimmerFeaturedGallery row={2} col={2} card frameHeight={600} />;
  }
}

featured-gallery

Properties

Property Type Required Default value Description
card bool no false Card Style enable/disable
row number yes 2 Number of row in your gallery
col number yes 2 Number of column in a row. Three options available [2, 3, 4]
gap number yes 20 Gap between columns. Two options only [20, 30]
frameHeight number yes 600 Height of full frame

Table

import React from "react";
import { ShimmerTable } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return <ShimmerTable row={5} col={5} />;
  }
}

table

Properties

Property Type Required Default value Description
row number yes 5 Number of row in your Table
col number yes 5 Number of column in a row

Content Block

import React from "react";
import { ShimmerContentBlock } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return (
      <ShimmerContentBlock
        title
        text
        cta
        thumbnailWidth={370}
        thumbnailHeight={370}
      />
    );
  }
}

content-block

Properties

Property Type Required Default value Description
card bool no true Card Style enable/disable
title bool no false Title
text bool no false Content Text
cta bool no false Call to Action
thumbnailWidth number yes Width of the thumbnail image
thumbnailHeight number yes Height of the thumbnail image
reverse bool no false Alternate Style option

Category

Category Item

import React from "react";
import { ShimmerCategoryItem } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return (
      <>
        <ShimmerCategoryItem />

        <ShimmerCategoryItem
          hasImage
          imageType="thumbnail"
          imageWidth={100}
          imageHeight={100}
          title
        />

        <ShimmerCategoryItem
          hasImage
          imageType="circular"
          imageWidth={100}
          imageHeight={100}
          title
        />

        <ShimmerCategoryItem
          hasImage
          imageType="thumbnail"
          imageWidth={100}
          imageHeight={100}
          text
        />

        <ShimmerCategoryItem
          hasImage
          imageType="circular"
          imageWidth={100}
          imageHeight={100}
          text
        />

        <ShimmerCategoryItem
          hasImage
          imageType="thumbnail"
          imageWidth={100}
          imageHeight={100}
          text
          cta
        />

        <ShimmerCategoryItem
          hasImage
          imageType="circular"
          imageWidth={100}
          imageHeight={100}
          text
          cta
        />
      </>
    );
  }
}

category-items

Properties

Property Type Required Default value Description
hasImage bool no false Thumbnail Image
imageType string yes thumbnail Image Type. Two options only ["thumbnail", "circular"]
imageWidth number yes Width of the image
imageHeight number yes Height of the image
title bool no false Title
text bool no false Content Text
cta bool no false Call to Action
contentCenter bool no false Content Alignment

Category List

import React from "react";
import { ShimmerCategoryList } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return <ShimmerCategoryList title items={6} categoryStyle="STYLE_SEVEN" />;
  }
}

category-list

Properties

Property Type Required Default value Description
title bool no false Title
items number yes 5 Number of items in the list
categoryStyle string yes STYLE_ONE Category style . Seven variation available STYLE_ONE, STYLE_TWO,STYLE_THREE,STYLE_FOUR, STYLE_FIVE, STYLE_SIX, STYLE_SEVEN

Post

Social Post Item

import React from "react";
import { ShimmerSocialPost } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return (
      <>
        <ShimmerSocialPost type="image" />
        <ShimmerSocialPost type="both" />
        <ShimmerSocialPost type="text" />
        <ShimmerSocialPost type="text" title />
      </>
    );
  }
}

social-posts

Properties

Property Type Required Default value Description
title bool no false Title
type string yes image Style type of the Social post. Three variations available image, text, both

Post Item

import React from "react";
import { ShimmerPostItem } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return (
      <>
        <ShimmerPostItem card title text cta />
        <ShimmerPostItem card title cta />
        <ShimmerPostItem
          card
          title
          cta
          imageType="thumbnail"
          imageWidth={80}
          imageHeight={80}
          contentCenter
        />
      </>
    );
  }
}

post-items

Properties

Property Type Required Default value Description
imageType string yes thumbnail Image Type. Two options only ["thumbnail", "circular"]
imageWidth number yes Width of the image
imageHeight number yes Height of the image
title bool no false Title
text bool no false Content Text
cta bool no false Call to Action

Post List

import React from "react";
import { ShimmerPostList } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return <ShimmerPostList postStyle="STYLE_FOUR" col={3} row={2} gap={30} />;
  }
}

post-list

Properties

Property Type Required Default value Description
row number yes 2 Number of row
col number yes 2 Number of column in a row. Three options available [2, 3, 4]
gap number yes 20 Gap between columns. Two options only [20, 30]
postStyle string yes STYLE_FOUR Category style . Eight variation available STYLE_ONE, STYLE_TWO,STYLE_THREE,STYLE_FOUR, STYLE_FIVE, STYLE_SIX, STYLE_SEVEN,STYLE_EIGHT

Post Details

import React from "react";
import { ShimmerPostDetails } from "react-shimmer-effects";

class Example extends Component {
  render() {
    return (
      <>
        <ShimmerPostDetails card cta variant="SIMPLE" />
        <ShimmerPostDetails card cta variant="EDITOR" />
      </>
    );
  }
}

post-details

Properties

Property Type Required Default value Description
variant string yes SIMPLE Two options only ["SIMPLE", "EDITOR"]
card bool no false Card Style enable/disable
cta bool no false Call to Action

Contribute

Feel free to send PR and any suggestions. Thanks

License

MIT Β© Shafikul Islam

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].