Home / Function/ functional() — tailwindcss Function Reference

functional() — tailwindcss Function Reference

Architecture documentation for the functional() function in utilities.ts from the tailwindcss codebase.

Function typescript Oxide Scanner calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  a5656dd3_93ce_c98d_6cec_38309e85d053["functional()"]
  e0663e8a_2f7d_8f2f_d3e7_62f07eccc486["Utilities"]
  a5656dd3_93ce_c98d_6cec_38309e85d053 -->|defined in| e0663e8a_2f7d_8f2f_d3e7_62f07eccc486
  1b775438_02d9_5178_6806_405c3c0b5328["createCssUtility()"]
  1b775438_02d9_5178_6806_405c3c0b5328 -->|calls| a5656dd3_93ce_c98d_6cec_38309e85d053
  31653e23_464a_3652_4a48_0c82332a92c4["buildPluginApi()"]
  31653e23_464a_3652_4a48_0c82332a92c4 -->|calls| a5656dd3_93ce_c98d_6cec_38309e85d053
  0e687735_200d_7212_bbf6_504ebc1bfe77["get()"]
  a5656dd3_93ce_c98d_6cec_38309e85d053 -->|calls| 0e687735_200d_7212_bbf6_504ebc1bfe77
  style a5656dd3_93ce_c98d_6cec_38309e85d053 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/utilities.ts lines 109–111

  functional(name: string, compileFn: CompileFn<'functional'>, options?: UtilityOptions) {
    this.utilities.get(name).push({ kind: 'functional', compileFn, options })
  }

Domain

Subdomains

Calls

Frequently Asked Questions

What does functional() do?
functional() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/utilities.ts.
Where is functional() defined?
functional() is defined in packages/tailwindcss/src/utilities.ts at line 109.
What does functional() call?
functional() calls 1 function(s): get.
What calls functional()?
functional() is called by 2 function(s): buildPluginApi, createCssUtility.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free