next-textswitcher
v1.0.4
Published
๐ A public text switcher component for Next.JS
Downloads
2
Readme
๐ This is a public NextJS decorative text switcher component.
๐๏ธ Default Styles (With Tailwind):
.textSwitcher-wrapper {
@apply inline-flex flex-col relative;
}
.textSwitcher-element {
@apply absolute opacity-0 top-[-100%];
}
.textSwitcher-e0 {
@apply top-[-100%] opacity-0;
}
.textSwitcher-e1 {
@apply top-0 opacity-100;
}
.textSwitcher-e2 {
@apply top-[100%] opacity-0;
}
.textSwitcher-invisible {
@apply opacity-0;
}