Field | CombricSkip to content

Field

Combric

Composes stable label, description, message, and control relationships.

@combric/react · v1.1.1 · Current

Import and usage

import { Field, FieldDescription, FieldMessage } from "@combric/react";

Load the native stylesheet with @import "@combric/react/css";. This path does not require Tailwind.

Examples

Invalid field

Use your work address.

Enter a valid email.

Valid field structure

Use your work address.

Public API

Public exports
Name
Field
FieldDescription
FieldMessage
Documented contracts
Property / capabilityPublished contract
Contractinvalid
ContractFieldDescription
ContractFieldMessage

Accessibility

Composes mounted aria-describedby relationships without dangling IDs; validation remains consumer-owned.

CSS and customization

Combric classes and canonical --combric-* variables provide the package presentation. Consumer className extends the required class; it does not replace the component contract.

Source

View source on GitHub