Home / Function/ SelectWithIcons() — ui Function Reference

SelectWithIcons() — ui Function Reference

Architecture documentation for the SelectWithIcons() function in select-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  89f10e88_c6d6_6c94_ee9e_a45beb0f1e71["SelectWithIcons()"]
  45dbd80e_4241_7e94_2ac4_8c9f125488aa["select-example.tsx"]
  89f10e88_c6d6_6c94_ee9e_a45beb0f1e71 -->|defined in| 45dbd80e_4241_7e94_2ac4_8c9f125488aa
  style 89f10e88_c6d6_6c94_ee9e_a45beb0f1e71 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/select-example.tsx lines 90–201

function SelectWithIcons() {
  return (
    <Example title="With Icons">
      <div className="flex flex-col gap-4">
        <Select>
          <SelectTrigger size="sm">
            <SelectValue
              placeholder={
                <>
                  <IconPlaceholder
                    lucide="ChartLineIcon"
                    tabler="IconChartLine"
                    hugeicons="Chart03Icon"
                    phosphor="ChartLineIcon"
                    remixicon="RiLineChartLine"
                  />
                  Chart Type
                </>
              }
            />
          </SelectTrigger>
          <SelectContent>
            <SelectGroup>
              <SelectItem value="line">
                <IconPlaceholder
                  lucide="ChartLineIcon"
                  tabler="IconChartLine"
                  hugeicons="Chart03Icon"
                  phosphor="ChartBarIcon"
                  remixicon="RiBarChartLine"
                />
                Line
              </SelectItem>
              <SelectItem value="bar">
                <IconPlaceholder
                  lucide="ChartBarIcon"
                  tabler="IconChartBar"
                  hugeicons="Chart03Icon"
                  phosphor="ChartBarIcon"
                  remixicon="RiBarChartLine"
                />
                Bar
              </SelectItem>
              <SelectItem value="pie">
                <IconPlaceholder
                  lucide="ChartPieIcon"
                  tabler="IconChartPie"
                  hugeicons="Chart03Icon"
                  phosphor="ChartPieIcon"
                  remixicon="RiPieChartLine"
                />
                Pie
              </SelectItem>
            </SelectGroup>
          </SelectContent>
        </Select>
        <Select>
          <SelectTrigger size="default">
            <SelectValue
              placeholder={
                <>
                  <IconPlaceholder
                    lucide="ChartLineIcon"
                    tabler="IconChartLine"
                    hugeicons="Chart03Icon"
                    phosphor="ChartLineIcon"
                    remixicon="RiLineChartLine"
                  />
                  Chart Type
                </>
              }
            />
          </SelectTrigger>
          <SelectContent>
            <SelectGroup>
              <SelectItem value="line">
                <IconPlaceholder
                  lucide="ChartLineIcon"
                  tabler="IconChartLine"
                  hugeicons="Chart03Icon"
                  phosphor="ChartLineIcon"

Subdomains

Frequently Asked Questions

What does SelectWithIcons() do?
SelectWithIcons() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/select-example.tsx.
Where is SelectWithIcons() defined?
SelectWithIcons() is defined in apps/v4/registry/bases/radix/examples/select-example.tsx at line 90.

Analyze Your Own Codebase

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

Try Supermodel Free