Mixins / foldkit-mixins-ui

foldkit-mixins-ui

Adapts @foldkit/ui render seams into foldkit-mixins slots.

Use it when an @foldkit/ui component already owns the difficult state and accessibility behavior, but you want callers to style or decorate the component through a typed extension contract instead of copying its markup or manually merging attribute arrays.

The ownership rule stays simple:

@foldkit/ui
  owns component state
  owns accessibility behavior
  owns its base attributes

foldkit-mixins-ui
  names the component's public attribute bundles as Slots

foldkit-mixins
  safely merges Style + Behavior into those Slots

This package adds no component state and no renderer. It is only a bridge between an existing @foldkit/ui render seam and the Mixins resolver.

Every shipped recipe is on the website's component pages, each with its variants to pick and the code that draws it, and Create a theme turns the theme's knobs over all of them at once.