बटन

tailwindcss.com के बटन

tailwindcss.com का प्राइमरी बटन #000000 है, #ffffff टेक्स्ट, 32px कोनों और 40px ऊँचाई के साथ। नीचे: साइट का हर बटन वैरिएंट, उसकी hover और focus states, और वह CSS जिससे आपके बटन वैसे ही दिखें।

tailwindcss.com से 4 दिन पहले मापा गया।

primary बटन

Get started
Hover
कोई दिखने लायक बदलाव नहीं
Focus
outline 1px auto rgb(16, 16, 16), offset 1px
Transition
all, 0s

ghost बटन

v4.3
Hover
कोई दिखने लायक बदलाव नहीं

CSS

हर वैरिएंट के लिए एक class, मापे गए मानों के साथ। फ़ॉन्ट वही है जो tailwindcss.com अपने बटनों पर सेट करता है।

buttons.css
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 16px;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 32px;
  font-size: 14px;
  font-weight: 600;
  font-family: "inter", sans-serif;
  cursor: pointer;
}
​
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 2px 6px;
  background: transparent;
  color: #000000;
  border: none;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  font-family: "inter", sans-serif;
  cursor: pointer;
}

AI एजेंट के लिए

पैक सादा टेक्स्ट है, कोई key नहीं: DESIGN.md लाएँ, या पूरा पैक MCP सर्वर से Claude Code, Cursor या Copilot को दें।

curl -s https://stylepack.ai/packs/tailwindcss.com/DESIGN.md

सवाल

tailwindcss.com जैसे बटन कैसे बनाऊँ?

इस पेज की CSS इस्तेमाल करें: प्राइमरी बटन #000000 है, #ffffff टेक्स्ट, 32px कोने, 40px ऊँचाई। हर वैरिएंट के नीचे दिए hover और focus नियम जोड़ें और बटन का फ़ॉन्ट वही रखें जो tailwindcss.com इस्तेमाल करता है।

tailwindcss.com के बटन किस रंग के हैं?

tailwindcss.com का प्राइमरी बटन #000000 है, #ffffff टेक्स्ट के साथ। साइट कुल 2 बटन वैरिएंट इस्तेमाल करती है; हर एक इस पेज पर अपने बैकग्राउंड, बॉर्डर, radius और साइज़ के साथ दिया है।

क्या कोई AI कोडिंग एजेंट tailwindcss.com के बटन कॉपी कर सकता है?

हाँ। Stylepack से मिला tailwindcss.com का डिज़ाइन पैक हर बटन वैरिएंट को उसकी states, फ़ॉन्ट, रंग और स्क्रीनशॉट के साथ रखता है, ताकि Claude Code, Cursor या Copilot वैसे ही बटन बना सकें।