Home / Function/ default.maxHeight() — tailwindcss Function Reference

default.maxHeight() — tailwindcss Function Reference

Architecture documentation for the default.maxHeight() function in default-theme.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  49abe29a_a2e3_8cb6_c37a_659e77d0dc43["default.maxHeight()"]
  1b5321a5_0fcc_2351_1f22_0d4bed4c097e["default-theme.ts"]
  49abe29a_a2e3_8cb6_c37a_659e77d0dc43 -->|defined in| 1b5321a5_0fcc_2351_1f22_0d4bed4c097e
  style 49abe29a_a2e3_8cb6_c37a_659e77d0dc43 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/compat/default-theme.ts lines 704–715

  maxHeight: ({ theme }) => ({
    none: 'none',
    full: '100%',
    screen: '100vh',
    svh: '100svh',
    lvh: '100lvh',
    dvh: '100dvh',
    min: 'min-content',
    max: 'max-content',
    fit: 'fit-content',
    ...theme('spacing'),
  }),

Domain

Subdomains

Frequently Asked Questions

What does default.maxHeight() do?
default.maxHeight() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/compat/default-theme.ts.
Where is default.maxHeight() defined?
default.maxHeight() is defined in packages/tailwindcss/src/compat/default-theme.ts at line 704.

Analyze Your Own Codebase

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

Try Supermodel Free