Home / Function/ nextOrder() — tailwindcss Function Reference

nextOrder() — tailwindcss Function Reference

Architecture documentation for the nextOrder() function in variants.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  2b0dbe06_2831_8f0b_4be1_7341d5b885d8["nextOrder()"]
  3ea38218_2a7c_f912_d458_de38bb3579b6["group()"]
  3ea38218_2a7c_f912_d458_de38bb3579b6 -->|calls| 2b0dbe06_2831_8f0b_4be1_7341d5b885d8
  13f9b85f_58c4_5390_3b22_04d00b93361b["set()"]
  13f9b85f_58c4_5390_3b22_04d00b93361b -->|calls| 2b0dbe06_2831_8f0b_4be1_7341d5b885d8
  style 2b0dbe06_2831_8f0b_4be1_7341d5b885d8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/variants.ts lines 314–316

  private nextOrder() {
    return this.groupOrder ?? this.lastOrder + 1
  }

Subdomains

Called By

Frequently Asked Questions

What does nextOrder() do?
nextOrder() is a function in the tailwindcss codebase.
What calls nextOrder()?
nextOrder() is called by 2 function(s): group, set.

Analyze Your Own Codebase

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

Try Supermodel Free