DavidHDev/react-bits

[BUG]: Component name typo on (ScrambleText → ScrambledText)

Closed this issue · 0 comments

Describe the issue

On the website, the component is shown as ScrambleText, but the correct name in the library is ScrambledText (missing the letter "d").
Because of this typo, the example link

pnpm dlx shadcn@latest add https://reactbits.dev/r/ScrambleText-TS-TW

does not work and opens a blank page.
The correct link should be

pnpm dlx shadcn@latest add https://reactbits.dev/r/ScrambledText-TS-TW

and this one works properly.

Reproduction Link

https://reactbits.dev/text-animations/scramble-text

Steps to reproduce

  1. Go to the documentation page: https://reactbits.dev/text-animations/scramble-text
  2. Copy the provided install link with ScrambleText.
  3. Open it in the browser → it shows a blank screen.
  4. Change ScrambleText to ScrambledText in the link → now it works correctly.

Validations

  • I have checked other issues to see if my issue was already reported or addressed