Home / Function/ ButtonIconLeft() — ui Function Reference

ButtonIconLeft() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/button-example.tsx lines 368–645

function ButtonIconLeft() {
  return (
    <Example title="Icon Left">
      <div className="flex flex-wrap items-center gap-2">
        <Button size="xs">
          <IconPlaceholder
            lucide="ArrowLeftCircleIcon"
            hugeicons="CircleArrowLeft02Icon"
            tabler="IconCircleArrowLeft"
            phosphor="ArrowCircleLeftIcon"
            remixicon="RiArrowLeftCircleLine"
            data-icon="inline-start"
          />{" "}
          Default
        </Button>
        <Button size="xs" variant="secondary">
          <IconPlaceholder
            lucide="ArrowLeftCircleIcon"
            hugeicons="CircleArrowLeft02Icon"
            tabler="IconCircleArrowLeft"
            phosphor="ArrowCircleLeftIcon"
            remixicon="RiArrowLeftCircleLine"
            data-icon="inline-start"
          />{" "}
          Secondary
        </Button>
        <Button size="xs" variant="outline">
          <IconPlaceholder
            lucide="ArrowLeftCircleIcon"
            hugeicons="CircleArrowLeft02Icon"
            tabler="IconCircleArrowLeft"
            phosphor="ArrowCircleLeftIcon"
            remixicon="RiArrowLeftCircleLine"
            data-icon="inline-start"
          />{" "}
          Outline
        </Button>
        <Button size="xs" variant="ghost">
          <IconPlaceholder
            lucide="ArrowLeftCircleIcon"
            hugeicons="CircleArrowLeft02Icon"
            tabler="IconCircleArrowLeft"
            phosphor="ArrowCircleLeftIcon"
            remixicon="RiArrowLeftCircleLine"
            data-icon="inline-start"
          />{" "}
          Ghost
        </Button>
        <Button size="xs" variant="destructive">
          <IconPlaceholder
            lucide="ArrowLeftCircleIcon"
            hugeicons="CircleArrowLeft02Icon"
            tabler="IconCircleArrowLeft"
            phosphor="ArrowCircleLeftIcon"
            remixicon="RiArrowLeftCircleLine"
            data-icon="inline-start"
          />{" "}
          Destructive
        </Button>
        <Button size="xs" variant="link">
          <IconPlaceholder
            lucide="ArrowLeftCircleIcon"
            hugeicons="CircleArrowLeft02Icon"
            tabler="IconCircleArrowLeft"
            phosphor="ArrowCircleLeftIcon"
            remixicon="RiArrowLeftCircleLine"
            data-icon="inline-start"
          />{" "}
          Link
        </Button>
      </div>
      <div className="flex flex-wrap items-center gap-2">
        <Button size="sm">
          <IconPlaceholder
            lucide="ArrowLeftCircleIcon"
            hugeicons="CircleArrowLeft02Icon"
            tabler="IconCircleArrowLeft"
            phosphor="ArrowCircleLeftIcon"
            remixicon="RiArrowLeftCircleLine"
            data-icon="inline-start"
          />{" "}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free