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 a98a3047_e577_9587_676c_c2ff128ed86f["default.maxHeight()"] 4b9fb355_7055_4825_6db8_a5dd6f45c06e["default-theme.ts"] a98a3047_e577_9587_676c_c2ff128ed86f -->|defined in| 4b9fb355_7055_4825_6db8_a5dd6f45c06e style a98a3047_e577_9587_676c_c2ff128ed86f 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
Source
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