Front-end code from a UI design
Send Kimi K2.5 a screenshot or mockup and ask for the component in your framework, with the layout, spacing and states it shows. Render the result next to the design and fix the differences before it ships.
Example: Build this pricing card from the mockup
Material
- Mockup (description)
- White card, plan name “Team”, price “$24 / month”, three feature lines with check icons, full-width blue “Start trial” button; the button turns darker blue on hover.
PromptWrite a React component for the pricing card in this screenshot, using Tailwind CSS. Match the layout and include the hover state.
Sample answer · written by hand to show the reasoning
A PricingCard component with a rounded white container, the plan name and price as heading and large text, a list of three items each with a check icon, and a full-width button using bg-blue-600 and hover:bg-blue-700. Plan name, price and features are props so the same card serves other plans. Compare it with the mockup at the target screen width.