preline-reference
Installation
SKILL.md
Preline Component Library Reference
Preline v4.1.3 is a Tailwind CSS component library with 27 headless plugins. GlassUI draws from Preline's component designs, accessibility patterns, and API conventions -- but builds natively in Svelte 5.
The source lives at tmp/pkg/preline/ in the repo. For the full component inventory with interfaces, HTML structure, and accessibility details, read references/preline-components.md.
Architecture Overview
Each Preline plugin follows this structure:
src/plugins/{name}/
core.ts -- main class extending HSBasePlugin
interfaces.ts -- TypeScript option/component interfaces
auto.ts -- auto-initialization on window load
types.ts -- (optional) custom types
variants.css -- Tailwind custom variants for state styling