@vellira-ui/core
v2.100.0
Published
Shared logic and hooks for Vellira Design System
Downloads
16,263
Maintainers
Readme
@vellira-ui/core
Platform-neutral behavior contracts and utilities for Vellira.
This internal package contains shared behavior types and helper functions used
by @vellira-ui/react and @vellira-ui/react-native. Platform-specific hooks,
DOM behavior, CSS, accessibility handling, rendering, and native interactions
remain in the corresponding renderer packages.
Installation
pnpm add @vellira-ui/coreResponsibilities
- Focus behavior contracts and utilities
- Overlay behavior contracts
- Portal behavior contracts
- Shared event utilities
- Platform-neutral behavior types
Package Structure
src/
└── behavior/
├── focus/
│ ├── focusUtils.ts
│ └── types.ts
├── overlay/
│ └── types.ts
├── portal/
│ └── types.ts
└── utils/
├── events.ts
└── types.tsUsage
This package is primarily consumed internally by the Vellira renderer packages.
Application code should normally import components and public APIs from:
@vellira-ui/react@vellira-ui/react-native
Documentation
Development
pnpm --filter @vellira-ui/core build
pnpm --filter @vellira-ui/core typecheck