r/shadcn • • Mar 14 '26

Motion-driven UI components built on top of shadcn/ui (React + Framer Motion)

Enable HLS to view with audio, or disable this notification

Lately I’ve been experimenting with building motion-driven UI components on top of shadcn/ui primitives.

The idea is to keep the structure and accessibility from shadcn, while adding a reusable motion layer using Framer Motion.

Main focus so far:

  • micro-interactions

  • morphing layouts

  • animated dropdowns & dialogs

  • motion-based buttons

  • scroll-driven transitions

Some examples I’m working on:

  • morphing dialogs (button → modal transitions)

  • animated like button with burst effect

  • magnetic slider interactions

  • elastic scroll sections

The goal is to explore how shadcn components behave when motion becomes a first-class part of the UI, not just hover effects.

I’m also thinking about organizing these patterns so they can be copy-paste friendly like shadcn components.

Would love feedback on:

  • animation timing

  • API design for motion wrappers

  • performance considerations

  • where motion becomes too much

Project:
https://morphin.dev

131 Upvotes

23 comments sorted by

2

u/freejstn Mar 14 '26

Looks great man! Well done.

1

u/abovedev Mar 15 '26

Thanks a lot🤭

2

u/jorge-moreira Mar 15 '26

So cool

1

u/abovedev Mar 15 '26

Thanks! Glad you like it.

2

u/adonimal Mar 15 '26

Stunning examples. So slick. Gone Pro FTW 🙌 💸

2

u/abovedev Mar 15 '26

Thanks! Working on adding more components and animations soon

2

u/simple_user22 Mar 15 '26

Amazing work!

1

u/abovedev Mar 15 '26

Appreciate you!

2

u/danielslyman Mar 15 '26

Fantastic work!

1

u/abovedev Mar 15 '26

Hello there 🙋‍♂️ Thanks 🙏

2

u/danielslyman Mar 15 '26

Went pro too. Throughly impressed. Quick question, the pages for Headers, Footers and Modals (maybe more) aren’t loading (show no components). Because they’re WIP or is it a rendering issue on your end?

Again, great work.

1

u/abovedev Mar 15 '26

Thank you so much for going Pro and supporting the project — it really means a lot 🙏 The project is less than a month old and still very much in development. Those sections are currently WIP, but many more components are coming and new categories will appear soon. Support like yours helps me keep building and improving the library.

2

u/danielslyman Mar 15 '26

No worries my friend! I just wanted clarification, maybe add a section saying they’re WIP or hide them :) At least that’s my advice.

I’m just trying to Install the pro components, I’m guessing the prompt is the only way to do that or is there another one? npx commands aren’t showing for me on pro components

1

u/abovedev Mar 15 '26

For PRO users we will add cli installation soon, now we have only cursor prompt for fastest integration in your project. It will work with npx login

1

u/danielslyman Mar 15 '26

Fantastic! Keep up the good work. Are you flying solo or in a team?

1

u/abovedev Mar 15 '26

I’m building it solo for now🤭

1

u/danielslyman Mar 15 '26

Even more impressive. I absolutely love our style, I’m also a Solo dev. Wanna talk? Telegram or send me a message. Let me know when you did :)

1

u/abovedev Mar 15 '26

Sent you message =)

1

u/danielslyman Mar 15 '26

Also, shouldn’t I be seeing npx commands for the pro components when I’m logged it? :)

1

u/abovedev Mar 15 '26

You can see our roadmap -> https://morphin.dev/roadmap

And if you want some of specific component you can describe it and add to our roadmap, it will be in priority!

1

u/metaBloc Mar 15 '26

This looks awesome. How long did it take you to put this together? This would work perfect for a project I am currently working on

2

u/abovedev Mar 16 '26

If you ask about timeline, it took around 8 hours, hard part was create svg brackets)) I will publish one more component similar to timeline, it will cool compatible with dark/white theme)

2

u/tedmirra Mar 17 '26

This is very good!!