Home / Function/ PreviewStyle() — ui Function Reference

PreviewStyle() — ui Function Reference

Architecture documentation for the PreviewStyle() function in preview-style.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  88df1b43_0630_6976_9ca4_bcf7ff55d727["PreviewStyle()"]
  3a45c4f5_d3ff_2ab9_6e89_7262c0f5accd["preview-style.tsx"]
  88df1b43_0630_6976_9ca4_bcf7ff55d727 -->|defined in| 3a45c4f5_d3ff_2ab9_6e89_7262c0f5accd
  style 88df1b43_0630_6976_9ca4_bcf7ff55d727 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/app/(create)/components/preview-style.tsx lines 3–16

export function PreviewStyle() {
  return (
    <style jsx global>{`
      html {
        -ms-overflow-style: none;
        scrollbar-width: none;

        &::-webkit-scrollbar {
          display: none;
        }
      }
    `}</style>
  )
}

Domain

Subdomains

Frequently Asked Questions

What does PreviewStyle() do?
PreviewStyle() is a function in the ui codebase, defined in apps/v4/app/(create)/components/preview-style.tsx.
Where is PreviewStyle() defined?
PreviewStyle() is defined in apps/v4/app/(create)/components/preview-style.tsx at line 3.

Analyze Your Own Codebase

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

Try Supermodel Free