@vhyxui/core
v0.2.3
Published
VhyxUI core — shared types, contracts, slot, and error infrastructure
Downloads
489
Readme
@vhyxui/core
Shared foundations for VhyxUI packages: agent contract templates for every
interactive component, the Slot primitive and typed errors.
Alpha — most apps use
@vhyxui/reactand never import this package directly.
Install
npm install @vhyxui/coreWhat's included
- Contract templates —
buttonContract,dialogContract,tableContract… one per interactive component, describing its intent and safety level for AI agents (built on@vhyxseal/core) Slot— merges props and refs onto a child element (asChildpattern), plusmergePropsandmergeRefs- Errors —
VhyxUIErrorandVhyxUIErrorCode
import { Slot, mergeRefs } from "@vhyxui/core";Links
- Documentation — https://vhyxui.com
- Source — https://github.com/vhyxara/vhyxUI/tree/main/packages/core
- License — MIT
