shadcn Component Visual Adapter
From Wikiprompt, the free prompt encyclopedia
shadcn Component Visual Adapter A comprehensive workflow prompt for refactoring an existing React component to match shadcn visual design while preserving business logic and props. Includes analysis, dependency resolution, refactoring rules, and output format.
Prompt ContentSave
# 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 component available at:
> ${install_command:bunx --bun shadcn@latest add accordion}
${referenc...
Sign in to see the full prompt
Sign In to ContinueUsage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
Talk
0 comments