Home / Function/ ButtonExamples() — ui Function Reference

ButtonExamples() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e23fc222_be81_6b46_49b9_bb68ae1f239b["ButtonExamples()"]
  406a095d_2246_161a_f71b_085efd146c9e["button-example.tsx"]
  e23fc222_be81_6b46_49b9_bb68ae1f239b -->|defined in| 406a095d_2246_161a_f71b_085efd146c9e
  style e23fc222_be81_6b46_49b9_bb68ae1f239b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/button-example.tsx lines 878–915

function ButtonExamples() {
  return (
    <Example title="Examples">
      <div className="flex flex-wrap items-center gap-4">
        <div className="flex items-center gap-2">
          <Button variant="outline">Cancel</Button>
          <Button>
            Submit{" "}
            <IconPlaceholder
              lucide="ArrowRightIcon"
              tabler="IconArrowRight"
              hugeicons="ArrowRight02Icon"
              phosphor="ArrowRightIcon"
              remixicon="RiArrowRightLine"
              data-icon="inline-end"
            />
          </Button>
        </div>
        <div className="flex items-center gap-2">
          <Button variant="destructive">Delete</Button>
          <Button size="icon">
            <IconPlaceholder
              lucide="ArrowRightIcon"
              tabler="IconArrowRight"
              hugeicons="ArrowRight02Icon"
              phosphor="ArrowRightIcon"
              remixicon="RiArrowRightLine"
              data-icon="inline-end"
            />
          </Button>
        </div>
        <Button render={<a href="#" />} nativeButton={false}>
          Link
        </Button>
      </div>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free