A smaller reading list
Keep the articles you want to return to. Archive the rest when the list stops being useful.
You can always save another article later.
load Loafkit styles once at the app root, then let native elements and components use them. you can choose the base styles on their own or include the reset and font setup.
| import | includes |
|---|---|
@ciabi/loafkit-ui/styles.css | tokens, native element styling and shared utilities |
@ciabi/loafkit-ui/reset.css | reset rules |
@ciabi/loafkit-ui/fonts.css | Google Fonts import and font tokens |
@ciabi/loafkit-ui/app.css | all three sheets above |
fonts.css requests Bricolage Grotesque and Fira Mono from Google Fonts; it doesnāt bundle local font files. if your app needs self-hosted fonts or no external font request, use styles.css and set the font variables yourself.
Keep the articles you want to return to. Archive the rest when the list stops being useful.
You can always save another article later.
<script>
import { Card } from '@ciabi/loafkit-ui';
</script>
<Card>
<article class="loaf-paragraph-text">
<h2>A smaller reading list</h2>
<p>Keep the articles you want to return to. Archive the rest when the list stops being useful.</p>
<p class="loaf-subtext">You can always save another article later.</p>
</article>
</Card>.loaf-paragraph-text provides the reading treatment used for article content. use it around prose rather than adding it indiscriminately to compact controls. .loaf-subtext gives supporting text its smaller size and muted color; keep essential instructions readable.
loaf-two-column, loaf-full-width, loaf-actions, loaf-icon and loaf-hidden are existing shared classes. loaf-hidden sets display none, so it removes content from layout and accessibility navigation. it isnāt a visually hidden text utility.
native buttons already receive button styling; loaf-button supplies it for suitable other elements such as links. use the button guide for states and emphasis.
change tokens for a shared palette or font choice. use each componentās supported props for its appearance. your page can add its own layout gaps, wrapping and container width without copying a componentās internal styles.