Home / Function/ ButtonGroupWithText() — ui Function Reference

ButtonGroupWithText() — ui Function Reference

Architecture documentation for the ButtonGroupWithText() function in button-group-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  e9d05639_a4c9_6fb8_242f_4e49ba05c986["ButtonGroupWithText()"]
  d41ef55a_d021_eff9_a1f7_cf3a6ebe42df["button-group-example.tsx"]
  e9d05639_a4c9_6fb8_242f_4e49ba05c986 -->|defined in| d41ef55a_d021_eff9_a1f7_cf3a6ebe42df
  style e9d05639_a4c9_6fb8_242f_4e49ba05c986 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/button-group-example.tsx lines 97–114

function ButtonGroupWithText() {
  return (
    <Example title="With Text">
      <div className="flex flex-col gap-4">
        <ButtonGroup>
          <ButtonGroupText>Text</ButtonGroupText>
          <Button variant="outline">Another Button</Button>
        </ButtonGroup>
        <ButtonGroup>
          <ButtonGroupText render={<Label htmlFor="input-text" />}>
            GPU Size
          </ButtonGroupText>
          <Input id="input-text" placeholder="Type something here..." />
        </ButtonGroup>
      </div>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does ButtonGroupWithText() do?
ButtonGroupWithText() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/button-group-example.tsx.
Where is ButtonGroupWithText() defined?
ButtonGroupWithText() is defined in apps/v4/registry/bases/base/examples/button-group-example.tsx at line 97.

Analyze Your Own Codebase

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

Try Supermodel Free