Schema & Configuration

Validation Layer

The Source of Truth

Design consistency is enforced at the data layer. Every configuration, theme, and component definition is validated by our strict Zod schema before it hits the UI.

import { bConfigSchema } from 'bismillahcss/schema';
const result = bConfigSchema.safeParse(yourConfig);
if (!result.success) { /* Handle errors with full IDE context */ }

Core Interfaces

  • BConfig

    Main framework configuration object interface.

  • BComponent

    Standardized component metadata definition.