Samla
Samla is an Astro-first component library built for rapid prototyping
with an AI coding assistant. Markup and styles are authored once in
.astro files; the sites that use them stay ordinary static HTML, CSS and
only the JavaScript they actually need.
Philosophy
Section titled “Philosophy”Pieces get added when a real site needs them, not to complete a catalogue.
Variation is expressed through a small, documented set of data-*
attributes rather than one-off modifier classes, so every component reads
the same way once you know the pattern, for a person and for a coding
assistant reaching for the next component. AGENTS.md, checked into the
repo, spells out that pattern so an assistant like Claude Code follows it
automatically rather than inventing a new one each prompt. There is no CMS
and no client-side framework required to use it.
Head to Installation to add it to a project, or browse Elements, Components, Sections and Commerce from the header.