Home / File/ bases.ts — ui Source File

bases.ts — ui Source File

Architecture documentation for bases.ts, a typescript file in the ui codebase. 2 imports, 0 dependents.

File typescript 2 imports

Entity Profile

Dependency Diagram

graph LR
  5a26d440_c812_5049_6831_6dbb0ac73265["bases.ts"]
  ceec689a_1334_a657_3c35_094070222b09["schema"]
  5a26d440_c812_5049_6831_6dbb0ac73265 --> ceec689a_1334_a657_3c35_094070222b09
  6802ce19_522d_e5fb_e458_8826d9f6952e["zod"]
  5a26d440_c812_5049_6831_6dbb0ac73265 --> 6802ce19_522d_e5fb_e458_8826d9f6952e
  style 5a26d440_c812_5049_6831_6dbb0ac73265 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { type registryItemSchema } from "shadcn/schema"
import { type z } from "zod"

export const BASES: z.infer<typeof registryItemSchema>[] = [
  {
    name: "radix",
    type: "registry:style",
    title: "Radix UI",
    description:
      "Optimized for fast development, easy maintenance, and accessibility.",
    dependencies: ["radix-ui"],
    meta: {
      logo: "<svg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><title>Radix UI</title><path fill='currentColor' d='M11.52 24a7.68 7.68 0 0 1-7.68-7.68 7.68 7.68 0 0 1 7.68-7.68V24Zm0-24v7.68H3.84V0h7.68Zm4.8 7.68a3.84 3.84 0 1 1 0-7.68 3.84 3.84 0 0 1 0 7.68Z'/></svg>",
    },
  },
  {
    name: "base",
    type: "registry:style",
    title: "Base UI",
    description:
      "Components for building accessible web apps and design systems.",
    dependencies: ["@base-ui/react"],
    meta: {
      logo: "<svg width='17' height='24' viewBox='0 0 17 24'><path fill='currentColor' d='M9.5001 7.01537C9.2245 6.99837 9 7.22385 9 7.49999V23C13.4183 23 17 19.4183 17 15C17 10.7497 13.6854 7.27351 9.5001 7.01537Z'></path><path fill='currentColor'   d='M8 9.8V12V23C3.58172 23 0 19.0601 0 14.2V12V1C4.41828 1 8 4.93989 8 9.8Z'></path></svg>",
    },
  },
]

export type Base = (typeof BASES)[number]

Types

Dependencies

  • schema
  • zod

Frequently Asked Questions

What does bases.ts do?
bases.ts is a source file in the ui codebase, written in typescript.
What does bases.ts depend on?
bases.ts imports 2 module(s): schema, zod.
Where is bases.ts in the architecture?
bases.ts is located at apps/v4/registry/bases.ts (directory: apps/v4/registry).

Analyze Your Own Codebase

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

Try Supermodel Free