All Projects → Chalarangelo → Mocka

Chalarangelo / Mocka

Licence: mit
Simple, elegant content placeholder

Projects that are alternatives of or similar to Mocka

Fake Images Please
Fakeimg.pl is a little tool that generates images with an URL. Choose the size, the colors, even the text. Oh… and it’s free.
Stars: ✭ 683 (-43.32%)
Mutual labels:  placeholder
Skeleton Elements
Skeleton elements - UI for improved perceived performance
Stars: ✭ 27 (-97.76%)
Mutual labels:  placeholder
Wynullview
An easy way to use for view's empty state 一行代码显示空视图,高度自定义
Stars: ✭ 44 (-96.35%)
Mutual labels:  placeholder
Kmplaceholdertextview
A UITextView subclass that adds support for multiline placeholder written in Swift.
Stars: ✭ 696 (-42.24%)
Mutual labels:  placeholder
Phpfn
Functional PHP Toolstet: Centralized monorepository for all libraries
Stars: ✭ 19 (-98.42%)
Mutual labels:  placeholder
React Shimmer
🌠 Async loading, performant Image component for React.js
Stars: ✭ 990 (-17.84%)
Mutual labels:  placeholder
React Native Shimmer Placeholder
Placeholder/ Skeleton of React Native
Stars: ✭ 679 (-43.65%)
Mutual labels:  placeholder
Placekeanu.com
For when you need a little more Keanu in your life
Stars: ✭ 63 (-94.77%)
Mutual labels:  placeholder
React Simple Img
🌅 React lazy load images with IntersectionObserver API and Priority Hints
Stars: ✭ 905 (-24.9%)
Mutual labels:  placeholder
V Img Fallback
Vue Image Fallback
Stars: ✭ 43 (-96.43%)
Mutual labels:  placeholder
Desertplaceholder
Animated placeholder in desert style.
Stars: ✭ 725 (-39.83%)
Mutual labels:  placeholder
Crboxinputview
Verify code input view. Support security type for password.短信验证码输入框,支持密文模式
Stars: ✭ 749 (-37.84%)
Mutual labels:  placeholder
Ssplaceholdertableview
SSPlaceholderTableView is Placeholder Library for different different state wise placeHolder for UITableView/UICollectionView. Check https://www.cocoacontrols.com/controls/ssplaceholdertableview
Stars: ✭ 39 (-96.76%)
Mutual labels:  placeholder
Uiimageview Letters
UIImageView category for using initials as a placeholder image, written in Objective-C. For a Swift implementation, see https://github.com/bachonk/InitialsImageView
Stars: ✭ 694 (-42.41%)
Mutual labels:  placeholder
Infrared
An ultra lightweight minecraft reverse proxy and idle placeholder
Stars: ✭ 59 (-95.1%)
Mutual labels:  placeholder
Growingtextview
An UITextView in Swift. Support auto growing, placeholder and length limit.
Stars: ✭ 683 (-43.32%)
Mutual labels:  placeholder
Superplaceholder.js
⚡Super charge your input placeholders
Stars: ✭ 978 (-18.84%)
Mutual labels:  placeholder
Placeholder Loading
Simple and flexible, css only, content placeholder loading animation. https://zalog.github.io/placeholder-loading/
Stars: ✭ 1,137 (-5.64%)
Mutual labels:  placeholder
Babel Plugin Partial Application
[DEPRECATED] Please use https://github.com/citycide/param.macro
Stars: ✭ 60 (-95.02%)
Mutual labels:  placeholder
Inputaccessoryview
Input Accessory View for Commenting and Chat User Interfaces built in Swift, if you like it please "☆"
Stars: ✭ 39 (-96.76%)
Mutual labels:  placeholder

mocka

Simple, elegant content placeholder

Mocka

npm install mocka-placeholder

Introduction

The mocka placeholder is a very simple content placeholder that you can use for your website or web application, while loading your page's content. It weighs very little (about 500 bytes minified and gzipped), is fully customizable and you can easily include it in your project's CSS file, by using the Sass mixin provided. Alternatively, you can copy its code and inline it in your HTML for even faster loading.

Usage

After loading the css, you can create a placeholder using the code provided below:

<div class="mocka-container">
  <span class="mocka-media"></span>
  <span class="mocka-heading"></span>
  <span class="mocka-text"></span>
</div>

Customization

Download the npm package, add the mixin to your project, then @import the file and @include the mixin, passing a single map as an argument. The map contains all the information needed to generate the classes from the mixin. You can find the map with the default values in the mocka.scss file.

License

Mocka is an open-source Sass/CSS component and is licensed under the MIT License.

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].