Home / Function/ TypographyTable() — ui Function Reference

TypographyTable() — ui Function Reference

Architecture documentation for the TypographyTable() function in typography-table.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  006c4f16_13a6_b4fc_270b_25b55bad997a["TypographyTable()"]
  dcea4847_270f_62b0_d90d_333d2995dc70["typography-table.tsx"]
  006c4f16_13a6_b4fc_270b_25b55bad997a -->|defined in| dcea4847_270f_62b0_d90d_333d2995dc70
  style 006c4f16_13a6_b4fc_270b_25b55bad997a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/typography-table.tsx lines 1–44

export function TypographyTable() {
  return (
    <div className="my-6 w-full overflow-y-auto">
      <table className="w-full">
        <thead>
          <tr className="even:bg-muted m-0 border-t p-0">
            <th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
              King&apos;s Treasury
            </th>
            <th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
              People&apos;s happiness
            </th>
          </tr>
        </thead>
        <tbody>
          <tr className="even:bg-muted m-0 border-t p-0">
            <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
              Empty
            </td>
            <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
              Overflowing
            </td>
          </tr>
          <tr className="even:bg-muted m-0 border-t p-0">
            <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
              Modest
            </td>
            <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
              Satisfied
            </td>
          </tr>
          <tr className="even:bg-muted m-0 border-t p-0">
            <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
              Full
            </td>
            <td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
              Ecstatic
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  )
}

Subdomains

Frequently Asked Questions

What does TypographyTable() do?
TypographyTable() is a function in the ui codebase, defined in apps/v4/examples/radix/typography-table.tsx.
Where is TypographyTable() defined?
TypographyTable() is defined in apps/v4/examples/radix/typography-table.tsx at line 1.

Analyze Your Own Codebase

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

Try Supermodel Free