1.0.3 • Published 12 months ago
@bod.ee/x-css v1.0.3
x-css
x-css is a minimalist, semantic CSS library designed specifically for LLM-friendly UI generation. It provides a set of basic, expressive styles that focus primarily on layouts and structure, with additional utility classes for common needs.
The library aims to be:
- Simple: Easy to understand and implement
- Semantic: Class names clearly indicate their purpose
- Expressive: Provides enough styling options without overwhelming complexity
- LLM-optimized: Designed to be easily understood by language models for automated UI generation
x-css serves as a foundation for AI-assisted UI development, allowing LLMs to efficiently generate structured, well-designed interfaces by referencing this documentation.
Installation
npm install @bod.ee/x-css
# or
yarn add @bod.ee/x-css
# or
bun add @bod.ee/x-cssUsage
Import the CSS file into your project:
/* In your main CSS/Less/Sass file */
@import '@bod.ee/x-css';Or via a link tag in your HTML:
<link rel="stylesheet" href="path/to/node_modules/@bod.ee/x-css">Or via CDN (unpkg):
<link rel="stylesheet" href="https://unpkg.com/@bod.ee/x-css@latest">Available Classes
Examples
1.0.3
12 months ago
1.0.2
12 months ago
1.0.1
1 year ago
0.3.5
1 year ago
0.3.4
1 year ago
0.3.3
1 year ago
0.3.2
1 year ago
0.3.1
1 year ago
0.2.4
1 year ago
0.2.3
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.1
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago