Home / Function/ ToggleWithText() — ui Function Reference

ToggleWithText() — ui Function Reference

Architecture documentation for the ToggleWithText() function in toggle-with-text.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  63e52c22_fd8d_f372_4491_74ecf2a6b593["ToggleWithText()"]
  2e6c7f83_ddb4_51a4_c430_ef58e6d8512b["toggle-with-text.tsx"]
  63e52c22_fd8d_f372_4491_74ecf2a6b593 -->|defined in| 2e6c7f83_ddb4_51a4_c430_ef58e6d8512b
  style 63e52c22_fd8d_f372_4491_74ecf2a6b593 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/internal/sink/components/toggle-with-text.tsx lines 5–12

export function ToggleWithText() {
  return (
    <Toggle aria-label="Toggle italic">
      <Italic />
      Italic
    </Toggle>
  )
}

Subdomains

Frequently Asked Questions

What does ToggleWithText() do?
ToggleWithText() is a function in the ui codebase, defined in deprecated/www/registry/new-york/internal/sink/components/toggle-with-text.tsx.
Where is ToggleWithText() defined?
ToggleWithText() is defined in deprecated/www/registry/new-york/internal/sink/components/toggle-with-text.tsx at line 5.

Analyze Your Own Codebase

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

Try Supermodel Free