Installation

Get started with Solid Bits in your project. Follow these simple steps to install and configure the library.

Package Installation

Install Solid Bits using your preferred package manager:

npm

npm install solid-bits

pnpm

pnpm add solid-bits

yarn

yarn add solid-bits

UnoCSS Setup

If you're using the UnoCSS variants, install UnoCSS as well:

npm install -D unocss

Then configure UnoCSS in your project:

// uno.config.ts
import { defineConfig, presetUno } from 'unocss'

export default defineConfig({
  presets: [presetUno()]
})

Peer Dependencies

Solid Bits requires the following peer dependencies:

  • solid-js ^1.8.0
  • @solidjs/router ^0.13.0 (optional, for routing examples)

Next Steps

Now that you've installed Solid Bits, learn how to use it: