properties
changelog

Spin Animation

Apply spinning or rotating animations to elements.

Usage:

  • @animate spin-in-*;
  • @animate spin-out-*;

Reference

shilp.config.js
const shilpConfig = {
	source: "react",

	properties: {
		animate: {
			spin: {
				in: {
					property: "--entr-rtt: <n><v><i>;",
					themeKey: "angles",
					values: {
						DEFAULT: "0deg",
					},
				},

				out: {
					property: "--ext-rtt: <n><v><i>;",
					themeKey: "angles",
					values: {
						DEFAULT: "0deg",
					},
				},
			},
		},
	},
};

export default shilpConfig;