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
- Copy the config below.
- Open the UnoCSS interactive docs.
- 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.