I even doubt for the Pascal case. This component (at least the try now demo) is making the string capitalized. Making the first letter uppercase for each word, and the rest of the string smaller case.
While, PascalCase, camelCase, snake_case, kebab-case are the practice of writing words without spaces.
PascalCase
original string: Swatantra Kumar
Pascal Case: SwatantraKumar
camelCase
original string: Swatantra Kumar
Camel Case: swatantraKumar