Interactive docs

Try the animation utilities in the UnoCSS playground and interactive docs.

UnoCSS ships a playground and an interactive documentation site. You can point both at this preset.

Playground

Open a preconfigured playground with presetVinicunca.

Interactive documentation

  1. Copy the config below.
  2. Open the UnoCSS interactive docs.
  3. Open settings (gear icon, top right), paste the config, and confirm.
uno.config.ts
import { presetVinicunca } from '@vinicunca/unocss-preset';
import { defineConfig } from 'unocss';

export default defineConfig({
  presets: [
    presetVinicunca({
      animation: {
        fillMode: 'both'
      }
    })
  ]
});

fillMode belongs under animation. It is not a top-level presetVinicunca option.