šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

@conectate/ct-loading-placeholder

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conectate/ct-loading-placeholder

Is a simple element to use skeleton loading such as Facebook.

4.4.9
latest
Source
npm
Version published
Weekly downloads
9
-88.75%
Maintainers
1
Weekly downloads
Ā 
Created
Source

Published on webcomponents.org NPM GitHub version Known Vulnerabilities

ct-loading-placeholder

ct-loading-placeholder is a simple element to use skeleton loading such as Facebook.

Installation

To include this, type:

$ pnpm i @conectate/ct-loading-placeholder

or

$ npm i @conectate/ct-loading-placeholder

Usage

Import lib

import '@conectate/ct-loading-placeholder/ct-loading-placeholder';

Use in your HTML

<ct-loading-placeholder style="height:24px;width:100px;border-radius: var(--border-radius, 16px);"></ct-loading-placeholder>

Styling

Custom propertyDescriptionDefault
--loading-placeholder-color-1Primary color for animation#E0E0E0
--loading-placeholder-color-2Secondary color for animation#C0C0C0

Demo

Demo

Follow me

Herberth Obregón

https://x.com/herberthobregon

https://dev.to/herberthobregon

Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -m 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request :D

History

  • v0.2.1 CHANGE keys to gruops in custom regex
  • v0.2.0 ADD href method
  • v0.1.8 You can use a html`` or string to define template
  • v0.1.0 Initial Release

License

See LICENSE

Keywords

LitElement

FAQs

Package last updated on 29 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts