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

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'),
  }),

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free