Skip to content

These are the ShadCN components stripped from Typescript to Javascript

Notifications You must be signed in to change notification settings

QuinnsCode/ShadCN-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

I have had to go through this a couple times stripping out the Typescript to make ShadCN components work in my RedwoodJS project.

I followed the Redwood forum post here: https://community.redwoodjs.com/t/cant-figure-out-how-to-install-shadcn-cli/7087/3

Into Amy's ShadCN setup guide, but I am using JS in a lot of my projects still so I had to strip out the TS code (prop types, interfaces and )

I then followed the PR instructions (soon to be added to RedwoodJS docs) here: redwoodjs/redwood#10459 As well as her video demo of the process here: https://www.youtube.com/live/ieNncwDB_B8?si=iEF-G0n1FWY5EySJ&t=490

Hopefully this makes it a little easier for JS people to also use these awesome components!

Note: I did not do the Data Table or Table elements as that will also need TanStack Table and will be a little more installing and setup needed.

SHADCN website https://ui.shadcn.com/

RADIX UI https://www.radix-ui.com/

About

These are the ShadCN components stripped from Typescript to Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published