Skip to content

Packages

Sectile separates what an interaction means from where it runs. Core, Form, Temporal, Tabular, Virtual, and Chart are renderer-neutral domains. DOM, Terminal, and Vue are host adapters, although Form and Chart intentionally integrate only with DOM and Vue.

Semantic layerState and computation without a host dependency
Results cross through public APIs
Host layerConnects input, output, and lifecycle

Semantic domains

PackageOwnsDoes not own
@sectile/coreinteraction state, transitions, identity, commands, bounded geometry algebradates, collection layout state, platform measurement, rendering
@sectile/formaccessible field composition, errors, validation, submission, and resetcontrol values, visual styling, Terminal forms
@sectile/temporalcivil dates, wall-clock time, calendar and picker rulestime zones, formatting, rendering
@sectile/tabulartabular identity, data access, columns, selection, grouping, grid interactiontransport, rendering, loading/error UI
@sectile/virtualcollection extents, viewport queries, dynamic measurement state, placements, virtual repair, anchor correctioncollection identity, data loading, platform measurement
@sectile/chartimmutable chart data, scales, packed geometry, queries, chart interactionvisual styling, DOM resources, Vue reactivity

Choose a semantic package from the value your application needs to reason about. A calendar uses Core composition and Temporal date rules. A virtualized list uses Core identity and Virtual geometry. A chart uses Core identity and revision contracts with Chart projection and interaction. None of these packages needs to know how the result is rendered.

Host adapters

PackageConnects
@sectile/domnative events, focus, attributes, browser measurement, scrolling
@sectile/terminalkeyboard input, terminal commands, text projection
@sectile/vueVue ownership, reactivity, slots, headless parts

Packages communicate only through public exports. Application code should keep the same boundary: domain state in semantic packages, platform effects at the host edge, visual styling in the application.

Geometry follows the same boundary. Core supplies bounded geometry values, anchored placement, and a generic metric index. Virtual turns collection extents and viewport state into layouts and applies measurement evidence. DOM, Terminal, or another host obtains the real platform measurements.

Released under the MIT License.