New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

glazejs

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glazejs

Utility-based animations for the web.

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

glaze image

Glaze is an animation framework that combines the power of GSAP and utility-based document authoring à la Tailwind to create a simple, yet powerful, way to compose declarative animations for the web.

<div
  class="invisible h-20 w-20 rounded-xl bg-amber-500"
  data-animate="@sm:from:duration-1|autoAlpha-0|rotate-180|y-50|ease-power2.inOut"
></div>

Features

  • Breakpoints Define custom breakpoints and animate elements at different screen sizes using @{size} syntax. Uses GSAPs matchMedia.
  • Timelines Compose timelines using @tl.
  • Dot notation Use dot notation to control nested properties inside the animation object, e.g. to:scale-1.5|scrollTrigger.trigger-[&].
  • Lightweight ~3kb minified and gzipped.
  • Library agnostic Can be extended to work with other animation libraries. (coming soon)

Credits

The API and syntax of Glaze is heavily inspired by Tailwind and MasterCSS.

Licensing and Requirements

Glaze is designed to work seamlessly with GSAP. To use Glaze, you must include GSAP in your project.

GSAP Licensing

GSAP is subject to its own licensing terms. Before incorporating GSAP with Glaze, ensure you review and comply with the GSAP Standard License.

Glaze itself is licensed under the MIT License. For more details, see the LICENSE file in the repository.

Keywords

glaze

FAQs

Package last updated on 05 Jun 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