Skip to content

Installation

Install @staticview/ui, the package with every component and its types.

Terminal window
npm install @staticview/ui@beta

AI 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.

Terminal window
npm install @staticview/cli@beta

CLI 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.

Terminal window
npm install @staticview/vite-plugin@beta

Vite 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.

Terminal window
npm install @staticview/staticbolt-plugin@beta

Staticbolt Plugin covers the configuration.

ESLint Plugin

To check the components you author, install the ESLint plugin.

Terminal window
npm install @staticview/eslint-plugin@beta

ESLint Plugin lists the rules.

Next Steps

  1. Set up the TypeScript types for your framework in Setup.
  2. Style your components with Theming.
  3. Get completions and docs for the components in your editor with Editor Support.