Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

loht-true-skeleton

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loht-true-skeleton

This is a pure SCSS project, designed to be used across multiple frameworks, such as Angular and React. The true skeleton is an overlay that can be applied as a styling class to most elements. It visually distinguishes the selected element from the rest o

  • 3.0.10
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

loht true skeleton

This is a pure SCSS project, designed to be used across multiple frameworks, such as Angular and React. The true skeleton is an overlay that can be applied as a styling class to most elements. It visually distinguishes the selected element from the rest of the UI by overlaying it. Additionally, an animation in the form of a loading bar is displayed, indicating that a background process is being executed. This makes it clear to users that the system is actively processing, enhancing the overall user experience.

Key features include:

  • Cross-framework compatibility: Works seamlessly with Angular, React, and more.
  • Lightweight and customizable: Easily integrated using SCSS, allowing for flexible CSS customizations.
  • Loading state indicator: Clear visual feedback with a loading animation overlay for enhanced UX.
  • Responsive design: Adaptable for modern UI components and responsive layouts.

Run instructions

After installing the package, you have to link the package to your styles.css by pasting the @import:

e.g. Angular sec/styles.scss:

@import '../node_modules/loht-true-skeleton/src/styles.scss';

After that, you can use the class true-skeleton in your project.

<div class="true-skeleton">
  some content to overlay
</div>

Customizing

It is possible to adjust individual parameters for setting the skeleton. Set the changes before the @import statement.

/* You can add global styles to this file, and also import other style files */
$ts-color-primary: red;
$ts-color-secondary: blue;
$ts-grayscale: 0 ;
$ts-blur: 0;

$ts-degree: 100deg;
$ts-background-size: 250%; //depending on the boxwidth and degree the size must be stretched
$ts-animation-duration: 5s;

@import 'node_modules/loht-true-skeleton/src/styles.scss';

Without skeleton

Alt-Text

With skeleton

Alt-Text
  • including animation

  • disable click events

Keywords

FAQs

Package last updated on 26 Sep 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc