Claude
Skill
tailwind
Utility-first CSS.
Download
dhaupin-vant-models_public_vant_skills_vant-skill-tailwind-e1e348e.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-tailwind
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
Git
git clone https://github.com/dhaupin/vant.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Tailwind
Utility-first CSS.
When To Use
- Rapid styling
- Modern UIs
- Component libraries
What To Do
1. Classes
<div class="p-4 bg-blue-500 text-white rounded-lg">
Content
</div>
2. Common
| Class | What |
|---|---|
| p-4 / m-4 | Padding/Margin |
| flex / grid | Layout |
| bg-red-500 | Background |
| text-sm | Text size |
| w-full | Width |
3. Responsive
<div class="w-full md:w-1/2">
Mobile first
</div>
4. Config
// tailwind.config.js
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: { extend: {} },
plugins: []
}
Role: Tailwind Developer Input: HTML Output: Styled
Utility CSS.
Files (vant)
-
SKILL.md 840 B
--- name: tailwind description: Utility-first CSS. license: MIT metadata: author: vant version: "1.0" --- # Tailwind > Utility-first CSS. --- ## When To Use - Rapid styling - Modern UIs - Component libraries --- ## What To Do ### 1. Classes ```html <div class="p-4 bg-blue-500 text-white rounded-lg"> Content </div> ``` ### 2. Common | Class | What | |-------|------| | p-4 / m-4 | Padding/Margin | | flex / grid | Layout | | bg-red-500 | Background | | text-sm | Text size | | w-full | Width | ### 3. Responsive ```html <div class="w-full md:w-1/2"> Mobile first </div> ``` ### 4. Config ```javascript // tailwind.config.js module.exports = { content: ['./src/**/*.{js,ts,jsx,tsx}'], theme: { extend: {} }, plugins: [] } ``` --- **Role**: Tailwind Developer **Input**: HTML **Output**: Styled > Utility CSS.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.