Installation
Add this checkout as a local dependency in an Astro project:
{ "dependencies": { "@samla/ui": "file:../samla" }}Then import components directly where you need them:
---import Button from '@samla/ui/Button.astro';import Card from '@samla/ui/Card.astro';import '@samla/ui/global.css';---
<Button href="/work/">See our work</Button><Card title="A project" description="A short summary." href="/work/project/" />Importing a component also brings in its tokens and scoped CSS. Import
global.css once in the site’s layout for base typography, focus styles,
and the typography and surface utilities used across these docs.