Quick start #

Install the components and the theme. The peer dependency is Vue ^3.5.0.

Shell
pnpm add @astryx-vue/core @astryx-vue/themes

Load the theme once from the app entry. Neutral includes Figtree and JetBrains Mono.

TypeScript
import '@astryx-vue/themes/neutral.css'

Import each component from its own subpath. That entry loads the matching structural styles.

Vue
<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:

TypeScript
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:

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.