Installation
Install the package alongside Hono, then import its stylesheet once at your application entry point.Import the CSS
silva-ui/style.css subpath. Import it once in the module shared by your routes. It contains the component styles and built-in theme variables, so this one-line setup does not need a visual preview.
Start a new app
Usecreate-silva-ui to start a static SPA, a full-stack Hono SSR app, or an SSR-only Hono app. The prompt asks you to choose the starter and, for SSR, the target runtime.
silva-ui directly.
Create a route
- Preview
- Code
Theme renders a div by default. Set as when a different HTML element is needed.Package entry points
Next: create a starter or apply a theme.