Prompt

0 copies · 0 said it worked

fariasandreluiz@fariasandreluiz·
Coding· Chat UI

Integrate a React component into a shadcn/Tailwind/TypeScript codebase

Guides an assistant through copying an existing 21st.dev React component into a shadcn project, checking Tailwind and TypeScript setup, installing dependencies, and identifying props, state, and assets.

People use this for

  • react component shadcn tailwind setup
  • integrate component into shadcn project
  • copy 21st dev component shadcn
  • tailwind typescript component integration prompt
  • add react component to shadcn ui folder
Imported · UnclaimedCC0

Imported on Nov 29, 2026 from 21st.dev component prompt . License observed at the source on Nov 29, 2026: CC0.

Are you the author?Claim this profileRequest removal

Prompt

You are given a task to integrate an existing React component in the codebase.

The codebase should support:
- shadcn project structure  
- Tailwind CSS
- Typescript

If it doesn't, provide instructions on how to setup project via shadcn CLI, install Tailwind or Typescript.

Determine the default path for components and styles. 
If default path for components is not /components/ui, provide instructions on why it's important to create this folder
Copy-paste this component to /components/ui folder:

${21st.dev_component}

Implementation Guidelines
 1. Analyze the component structure and identify all required dependencies
 2. Review the component's argumens and state
 3. Identify any required context providers or hooks and install them
 4. Questions to Ask
 - What data/props will be passed to this component?
 - Are there any specific state management requirements?
 - Are there any required assets (images, icons, etc.)?
 - What is the expected responsive behavior?
 - What is the best place to use this component in the app?

Steps to integrate
 0. Copy paste all the code above in the correct directories
 1. Install external dependencies
 2. Fill image assets with Unsplash stock images you know exist
 3. Use lucide-react icons for svgs or logos if component requires them

No result recorded for this import yet. Tried it? File a report so the next person knows how it went.

Tried it

Structured reports from people who ran this prompt. They roll up into the per-model badges above.

No one has filed a report yet. Try the prompt and be the first.

License: CC0v1 · published Nov 29, 2026

Comments

No comments yet. If you tried this prompt, say how it went.