kind() — tailwindcss Function Reference
Architecture documentation for the kind() function in variants.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD b540d2b5_4670_b95e_6e75_e5173757e257["kind()"] 67c140cd_3928_7c30_7f6d_c67052da2a02["Variants"] b540d2b5_4670_b95e_6e75_e5173757e257 -->|defined in| 67c140cd_3928_7c30_7f6d_c67052da2a02 553e63f4_f172_3689_a5a7_f8cf3b0bd124["get()"] b540d2b5_4670_b95e_6e75_e5173757e257 -->|calls| 553e63f4_f172_3689_a5a7_f8cf3b0bd124 style b540d2b5_4670_b95e_6e75_e5173757e257 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/variants.ts lines 156–158
kind(name: string) {
return this.variants.get(name)?.kind!
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does kind() do?
kind() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/variants.ts.
Where is kind() defined?
kind() is defined in packages/tailwindcss/src/variants.ts at line 156.
What does kind() call?
kind() calls 1 function(s): get.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free