@vellira-ui/core
v2.23.0
Published
Shared logic and hooks for Vellira Design System
Readme
@vellira-ui/core
Shared interaction and state logic for Vellira.
This package contains hooks that can be reused by web and native packages when the behavior is platform-neutral.
Exports
useControllableStateuseKeyboardNavigationuseTabsKeyboard
Internal or experimental hooks are not exported from the package root until they are part of the supported public API.
Usage
import { useControllableState } from '@vellira-ui/core';
const [value, setValue] = useControllableState({
value,
defaultValue: '',
onChange,
});Development
pnpm --filter @vellira-ui/core build
pnpm --filter @vellira-ui/core typecheck