Skip to main content

Import

Examples

Compose primitives

Light/dark mode

Exports

Components

Functions

Types

Constants

Deep imports

These import paths group focused functionality under this module. Each is a separate barrel; import only what you need.

veryfront/ui/adapter

UI primitive-adapter contract (RFC 0001: bring-your-own UI primitive adapters). A behavioural primitive is split into a Skin (Tailwind / cva / [var(--token)] classes, authored once) and Mechanics (focus, dismiss, positioning, ARIA, keyboard) supplied by a swappable adapter. The contract is role-tagged component slots + normalized controlled or uncontrolled disclosure props (open, defaultOpen, onOpenChange): deliberately NOT prop-getters (those only fit React Aria’s hooks; Base UI / Ariakit invert composition via render). Every adapter: the zero-dependency builtin and any third-party engine (Base UI, Radix, React Aria): satisfies these exact shapes, so one set of skin classes works everywhere. Types only. No runtime, no engine imports: this file is safe to pull into veryfront/ui/adapter from a consumer-authored adapter.

Types

veryfront/ui/icons

Ai - Icons

Components

Types