sulaf
DocsComponents
X
Sections
  • Get Started
  • Installation
  • Components
  • Animations
    Soon
Components
  • Autocomplete
  • Show More
  • Typography
  • Code Block
    Soon
  • Code Snippet
    Soon
  • Guided Tour
    Soon
  • Meter
    Soon
  • Star Rating
    Soon
Animations
Soon

Installation

PreviousNext

Learn how to set up Sulaf in your project using our CLI or shadcn-vue.

Sulaf components are distributed as raw source code that you add directly to your project. This gives you full control and ownership over the implementation.

Prerequisites

Before adding Sulaf components, you need an existing project with:

  • Vue 3.4+
  • Tailwind CSS
  • shadcn-vue

If you haven't set up shadcn-vue yet, follow their installation guide. Your project must have a valid components.json file.

Choose your installation method

You can add components using the Sulaf CLI (the fastest method) or by leveraging the standard shadcn-vue CLI.

Method 1: Using Sulaf CLI (Recommended)

The dedicated sulaf acts as a seamless wrapper, letting you add components with zero extra configuration.

pnpm dlx sulaf@latest <component-name>

For example, to add the autocomplete component:

pnpm dlx sulaf@latest autocomplete

You can install all components at once with:

pnpm dlx sulaf@latest all

Method 2: Registry Setup (usnig shadcn-vue CLI directly)

If you prefer using the standard shadcn-vue CLI, you can register Sulaf as a recognized component source within your project.

  1. Open your components.json file.
  2. Add @sulaf to the registries object:
{
  "aliases": { ... },
  "registries": {
    "@sulaf": "https://sulaf-socd8d.cranl.net/r/components/{name}.json"
  }
}
  1. Add components using the shorthand prefix:
pnpm dlx shadcn-vue@latest add @sulaf/autocomplete

Method 3: Direct URL (shadcn-vue CLI)

If you don't want to modify your components.json registry, you can pass the direct URL to the shadcn-vue CLI:

pnpm dlx shadcn-vue@latest add https://sulaf-socd8d.cranl.net/r/components/autocomplete.json

Method 4: Manual installation

You can also copy component source code directly from our documentation pages into your project. Each page includes the required snippets, dependency list, and usage examples.

Next Steps

Start Browsing Components to see what's available.

Last updated on April 14, 2026

IntroductionComponents

On This Page

PrerequisitesChoose your installation methodMethod 1: Using Sulaf CLI (Recommended)Method 2: Registry Setup (usnig shadcn-vue CLI directly)Method 3: Direct URL (shadcn-vue CLI)Method 4: Manual installationNext Steps
© 2026 - Built with shadcn-vue . The source code is available on GitHub.