1.0.4 • Published 2 years ago

next-textswitcher v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

🎊 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;
}
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago