To enable the fade-up animation used in several components (like the Plan Configurator example), you must add the following keyframes and animation configuration to your tailwind.config.js file:
// tailwind.config.js
module.exports = {
theme: {
extend: {
keyframes: {
'fade-up': {
from: {
opacity: 0,
transform: 'translateY(16px)',
},
to: {
opacity: 1,
transform: 'translateY(0px)',
},
},
},
animation: {
'fade-up': 'fade-up 800ms cubic-bezier(0.34, 1.56, 0.64, 1)',
},
},
},
}
module.exports = {
theme: {
extend: {
keyframes: {
'fade-up': {
from: {
opacity: 0,
transform: 'translateY(16px)',
},
to: {
opacity: 1,
transform: 'translateY(0px)',
},
},
},
animation: {
'fade-up': 'fade-up 800ms cubic-bezier(0.34, 1.56, 0.64, 1)',
},
},
},
}