JST --:--:--
  1. Toolkit
  2. Components

3D nimbu mirchi: lemon and chilli good-luck charm with physics

Free React component · 3D Lemon Chilli Charm (Nimbu Mirchi)

A lemon and green chillies on a twisted thread, the Indian good-luck charm, in 3D with real physics. Drag it, fling it, sweep through it, or pull it far and let go: the thread snaps back like an ID-card reel.

Install

npx shadcn@latest add "https://21st.dev/r/aakashmehra/nimbu-mirchi?api_key=$API_KEY_21ST"

Run it in a React project set up for shadcn/ui. It needs a free 21st.dev API key, or copy the code from the component's page on 21st.dev.

Overview

Built with
React · Tailwind CSS · three.js
npm packages
three
Price
Free and open source (MIT licence)

Questions

Is the 3D Lemon Chilli Charm (Nimbu Mirchi) free?

Yes. It's free and open source under the MIT licence, so you can use it in personal and commercial projects.

How do I add the 3D Lemon Chilli Charm (Nimbu Mirchi) to my project?

In a React project set up for shadcn/ui, run the install command on this page with your 21st.dev API key. You can also open it on 21st.dev and copy the code.

What does the 3D Lemon Chilli Charm (Nimbu Mirchi) need?

React and Tailwind CSS, plus three from npm.

More components

Want something like this on your site?

I design and build websites with interactions like this one, from the first idea to launch.