Installation
Install @staticview/ui, the package with every component and its types.
npm install @staticview/ui@betaAI agents can read the docs as Markdown through llms.txt.
Optional Tools
CLI
Install the staticview CLI to copy components into your project, create and build your own, and generate their docs and framework types.
npm install @staticview/cli@betaCLI lists the commands.
Vite Plugin
To author components in a Vite project, install the Vite plugin, which builds each .ts component file with the HTML and CSS it inlines.
npm install @staticview/vite-plugin@betaVite Plugin covers the configuration.
Staticbolt Plugin
To author components in a Staticbolt site, install the Staticbolt plugin, which builds each .ts component file with the HTML and CSS it inlines.
npm install @staticview/staticbolt-plugin@betaStaticbolt Plugin covers the configuration.
ESLint Plugin
To check the components you author, install the ESLint plugin.
npm install @staticview/eslint-plugin@betaESLint Plugin lists the rules.
Next Steps
- Set up the TypeScript types for your framework in Setup.
- Style your components with Theming.
- Get completions and docs for the components in your editor with Editor Support.