Installation
Get UiCraft — a pure-CSS component library with utility classes and design tokens.
CDN
Include uicraft directly via CDN — no build step, no install.
Drop a <link> and <script> tag into your HTML. The JS bundle auto-initializes all interactive components.
jsDelivr
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@uicraft/core/uicraft.min.css"> <script src="https://cdn.jsdelivr.net/npm/@uicraft/core/uicraft.min.js"></script>
unpkg
<link rel="stylesheet" href="https://unpkg.com/@uicraft/core/uicraft.min.css"> <script src="https://unpkg.com/@uicraft/core/uicraft.min.js"></script>
npm
Install uicraft as a package and import the CSS in your build.
npm install @uicraft/core
Then import the stylesheet in your entry file:
import '@uicraft/core/uicraft.min.css';
shadcn CLI
Pull individual components into any project through the shadcn registry — only the CSS you need.
Every component is published as a shadcn registry item at getuicraft.com/r/{name}.json. The CLI writes the component CSS to styles/uicraft/ and pulls dependencies (tokens, utilities, used components) automatically.
npx shadcn@latest add https://getuicraft.com/r/button.json
Or register the @uicraft namespace once in your components.json:
{
"registries": {
"@uicraft": "https://getuicraft.com/r/{name}.json"
}
}
npx shadcn@latest add @uicraft/button
The full index lives at /r/registry.json. Import styles/uicraft/base.css once, then each component file after it.
Download ZIP
Download a pre-built ZIP with compiled CSS, minified CSS, theme files, and a readme.
Download the compiled bundle — ready to drop into any project. No build step required.
Source Files
Clone the repository and build UiCraft from source.
Clone the GitHub repository to access source files, Sass/SCSS, and build scripts. Requires Node.js.
View on GitHubgit clone https://github.com/tarasenko-by/uicraft-core.git