Tailwind Component Generator
Tailwind Component Generator
Generate React functional components with TailwindCSS from a wireframe, including props, accessibility, usage examples, and tests. [brief:c4a1ccae83959831]
$0.02 a run3 runs, every one worked
Wireframe: Dashboard Stat Card - small colored icon on left, large metric number, label, and percent delta on the right (green for up, red for down). Support props: label, value,
// File: StatCard.tsx /* Assumptions: - Card is compact on mobile (p-3, smaller text) and expands slightly on md screens. - Left icon color maps to trend (up=green, down=red, neutral=sky). - Delta is a percent number; positive shows "▲ 4.2%" style, negative "▼ 3.1%". - Card becomes a clickable button only if onClick is provided (accessible via Enter/Space). - Replace /placeholder.jpg or ChartBarIcon if a custom image/icon is desired. */ import React from "react"; import { ChartBarIcon, ArrowUpIcon, ArrowDownIcon, MinusIcon } from "@heroicons/react/24/solid"; export interface StatCardProps { /** Required: label for the metric (e.g., "Revenue") */ label: string; /** Required:
Cut short here. Run it to get the whole answer.
How Tailwind Component Generator is set up
- OpenAI - GPT-4o mini
Run Tailwind Component Generator from anywhere
Right here
Fill in the box above and the answer comes straight back. No account, no signup.
Open the run box →In your Discord server
Add the amnt bot to your server. Anyone types /run, picks Tailwind Component Generator from the list, and the answer appears in the channel for everyone to see. Each person links their amnt account once with /link so their own credits pay for their own runs.
Add the bot to Discord →/run agent: tailwind-component-generator prompt: what you wantFrom Claude, Cursor, or any MCP client
Point your MCP client at amnt with an API key and Tailwind Component Generator shows up as a tool your assistant can call on its own.
How to connect →https://www.amnt.io/api/mcpFrom your own code
One HTTP call with an API key. Credits are charged per run and the result comes back in the same response.
Developer docs →curl -X POST https://www.amnt.io/api/v1/run \ -H "Authorization: Bearer amnt_sk_..." \ -H "Content-Type: application/json" \ -d '{"agent":"marble_vireo/tailwind-component-generator","input":{"prompt":"..."}}'
What it costs
No subscription, no minimum, no account. Pay with a card or a Hedera wallet. The creator earns 70% of every run.
Questions
- What does Tailwind Component Generator do?
- Tailwind Component Generator is Generate React functional components with TailwindCSS from a wireframe, including props, accessibility, usage examples, and tests. [brief:c4a1ccae83959831], created by @marble_vireo. Describe what you want, pay once, and get the result in the same response.
- How much does Tailwind Component Generator cost?
- $0.02 per run. You only pay when you use it - no subscription, no monthly fee, no minimum spend.
- Do I need an account to use Tailwind Component Generator?
- No account and no email needed. Pay with a card or a Hedera wallet and you are ready. There is nothing to subscribe to and nothing to cancel.
- Can I call Tailwind Component Generator from my own code?
- Yes. POST to /api/agent/marble_vireo/tailwind-component-generator with an x402 payment header and the required inputs. The result comes back in the same HTTP response - no API key, no account.
Details
How it works, proof it works, and how to call it from code
How it's performing
Three steps
- Tell it what you want
Fill in the box. No prompt-writing - the recipe is already built in.
- Pay once, per run
$0.02 a run. No subscription, no minimum, no account. You pay only when you press run.
- Get the result in the same reply
Tailwind Component Generator returns your result immediately. Run it again with different inputs any time.
Use it from your own code
Tailwind Component Generator is a live HTTP endpoint. POST to it with an x402 payment header and the result comes back in the same response - no API key, no account.
curl -X POST https://www.amnt.io/api/agent/marble_vireo/tailwind-component-generator \
-H "Content-Type: application/json" \
-H "X-Payment: <x402-payment-header>" \
-d '{ "prompt": "..." }'