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

astro-vtbot

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astro-vtbot

A Bag of Tricks for Astro's View Transitions

  • 1.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.8K
decreased by-2.13%
Maintainers
1
Weekly downloads
 
Created
Source

No, its not a roBOT, its a Bag of Tricks!

A current deployment of tech demos and the documentation can be found at https://events-3bg.pages.dev/

Bag of Tricks for Astro's View Transitions

The bag of tricks provides support around Astro's view transitions. Some of the contents are technical demos, some are useful tools, and some are reusable components that you can use in your own project to handle edge cases that go beyond Astro's standard features.

Tech Demos

The bag of tricks currently contains several technical demos that show examples of the implementation of various effects using the view transition events.

The sources are in the example folder.

Reusable Components

For functionality and usage see the documentation.

Feature Enhancements

In this release
  • <ReplacementSwap />: An alterantive DOM swap(), which preserves elements in the original DOM to avoid reinitialization of iframes or CSS animations.
Ideas for upcomming components
  • A component that identifies and activates the current link in a persistent navigation bar
  • A component that preloads images used in view transitions (including load indicator)

Development support

In this release
  • <VtBotDebug />: A Debugging component that logs the events and their data as they occur.

  • <Linter>: A linter component that helps you identify problems when setting up transitions.

Todo list

  • find & fix bugs
  • provide additional components and demos

Keywords

FAQs

Package last updated on 25 Dec 2023

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