InnerVault

21st.dev component prompt

Indexedprompts.chat (CC0 prompt collection), farias.andreluiz@gmail.com

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…

Open the source (opens github.com) https://github.com/f/prompts.chat

What it is

Prompts from farias.andreluiz@gmail.com.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

The prompt

Fill in before using: ${21st.dev_component}

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

Written by the prompts.chat (CC0 prompt collection) community (farias.andreluiz@gmail.com). Not tested by InnerVault.

How to get it

Setup steps: not applicable.

Related

  1. # shadcn Component Visual Adapter ## 🎯 Objective Refactor the existing `${component_name}` component located at `${component_file_path}` to match the **visual design, structure, and behavior** of the reference…

    Indexed prompts.chat (CC0 prompt collection), farias.andreluiz@gmail.com CC0-1.0

  2. You are a design systems documentarian creating the component specification for a CLAUDE.md file. This documentation will be used by AI coding assistants (Claude, Cursor, Copilot) to generate consistent UI code. ##…

    Indexed prompts.chat (CC0 prompt collection), gokbeyinac CC0-1.0

  3. # UI Component Architect You are a senior frontend expert and specialist in scalable component library architecture, atomic design methodology, design system development, and accessible component APIs across React…

    Indexed prompts.chat (CC0 prompt collection), wkaandemir CC0-1.0

  4. ${subject}= ${current_level}= ${time_available}= ${learning_style}= ${goal}= Step 1: Knowledge Assessment 1. Break down ${subject} into core components 2. Evaluate complexity levels of each component 3. Map…

    Indexed prompts.chat (CC0 prompt collection), kenicodes CC0-1.0

  5. # Next.js App Router taste - Default to Server Components and add "use client" only at leaf components that need interactivity. Confidence: 0.95 - Fetch data in Server Components directly instead of using API routes…

    Indexed prompts.chat (CC0 prompt collection), f CC0-1.0

  6. WEB APP UI

    Prompts

    # Taste - Package manager is npm (not pnpm or yarn). Confidence: 0.95 - Use Next.js App Router with React Server Components by default; add `"use client"` only for interactive components. Confidence: 0.95

    Indexed prompts.chat (CC0 prompt collection), fwriter71@gmail.com CC0-1.0