Skip to main content

@remotion/tailwind-v4

This package provides utilities useful for integrating TailwindCSS v4 with Remotion, as documented on our TailwindCSS page.

Installation

Install @remotion/tailwind-v4 as well as TailwindCSS dependencies.

npx remotion add @remotion/tailwind-v4

Override the Webpack config by using enableTailwind().

remotion.config.ts
ts
import {Config} from '@remotion/cli/config';
import {enableTailwind} from '@remotion/tailwind-v4';
 
Config.overrideWebpackConfig((currentConfiguration) => {
return enableTailwind(currentConfiguration);
});

Then follow the remaining set up steps from the TailwindCSS page.

APIs