properties
changelog

Transition Presets

Use phase, transition combinations for common effects.

Usage:

  • @phase preset-*;

Reference

shilp.config.js
/** @type {import('shilpcss/types').ShilpConfig} */
const shilpConfig = {
  source: "react",

  properties: {
    phase: {
      preset: {
        property: "transition: <v><i>;",
        values: {
          none: "none",
          // transition: property duration [flow] [delay];
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: