Quick start #
Install the components and the theme. The peer dependency is Vue ^3.5.0.
pnpm add @astryx-vue/core @astryx-vue/themesnpm install @astryx-vue/core @astryx-vue/themesyarn add @astryx-vue/core @astryx-vue/themesbun add @astryx-vue/core @astryx-vue/themesLoad the theme once from the app entry. Neutral includes Figtree and JetBrains Mono.
import '@astryx-vue/themes/neutral.css'Import each component from its own subpath. That entry loads the matching structural styles.
<script setup lang="ts">
import { Button } from '@astryx-vue/core/Button'
</script>
<template>
<Button label="Get started" />
</template>Import every structural stylesheet at once with:
import '@astryx-vue/core/styles.css'Next, see how package entries work in Installation, how layers and variables connect in Theme and styles, or open Components. To learn more about the background and design decisions, see Introduction.
For AI agents #
Every page is also published as plain text, so an agent can read the docs without installing anything:
- /llms.txt lists every page with a one-line summary. Chinese: /llms-zh.txt.
- /llms-full.txt puts the whole documentation in one file. Chinese: /llms-full-zh.txt.
- Add
.mdto any page address to read that single page as Markdown, for example /en/components/button.md. Chinese pages have no/zhprefix:/components/button.md.
A component's Markdown file pulls its overview, props tables, examples with the demo source, and accessibility checks into one document. Every HTML page links to its Markdown version in the page head, and the command line has the same component text, see CLI.