https://github.com/sanand0/smartart
A lightweight, responsive CSS library for creating smart-art. Pure CSS implementation with no JavaScript dependencies.
https://github.com/sanand0/smartart
library
Last synced: 9 months ago
JSON representation
A lightweight, responsive CSS library for creating smart-art. Pure CSS implementation with no JavaScript dependencies.
- Host: GitHub
- URL: https://github.com/sanand0/smartart
- Owner: sanand0
- License: mit
- Created: 2025-07-29T11:42:24.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-12T06:46:18.000Z (11 months ago)
- Last Synced: 2025-08-30T13:54:54.416Z (10 months ago)
- Topics: library
- Language: CSS
- Homepage: https://sanand0.github.io/smartart/
- Size: 886 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Smart Art CSS Library
[](https://www.npmjs.com/package/smartart)
[](https://github.com/sanand0/smartart/blob/main/LICENSE)
A lightweight, responsive CSS library for creating smart-art. Pure CSS implementation with no JavaScript dependencies.
::hr{.border-muted}
## Chevron
Process flows showing sequential elements. **[Read Chevron Docs »](chevron.md)**
[](chevron.md)
## Column
Lists of items with headers. **[Read Column Docs »](column.md)**
[](column.md)
## Stack
Lists of items with headers, oriented horizontally. **[Read Stack Docs »](stack.md)**
[](stack.md)
## Themes
A dozen themes for a professional look. **[Read Themes Docs »](themes.md)**
[](themes.md)
## Development
File structure:
- Component CSS are in /: `chevron.css`, `column.css`, `stack.css`, `themes.css`, ...
- Docs site: `index.html` (Docsify) and `script.js` (ESM renderer tweaks)
- Docs pages: `chevron.md`, `column.md`, `stack.md`, `themes.md`, ...; images in `docs/`
- Build output: `dist/` (minified `.min.css` bundles)
- Tests: `tests/*.spec.ts` and `tests/utils.ts` (Playwright)
- Tools: `screenshot.js` (generate `.webp` examples), `playwright.config.ts`
```bash
git clone https://github.com/sanand0/smartart.git
cd smartart
npm install
npm run lint # oxlint, prettier for JS/MD, HTML beautifier
npm run build # bundle + minify CSS into dist/ via esbuild
npm test # Playwright tests with local server
npm run screenshot # capture docs examples to docs/*.webp via Playwright
npm publish
git commit . -m"$COMMIT_MSG"; git tag $VERSION; git push --follow-tags
```
## Release notes
- [1.1.0](https://npmjs.com/package/smartart/v/1.1.0): 30 Jul 2025. Standardized package.json & README.md, switch to ESM
- [1.0.0](https://npmjs.com/package/smartart/v/1.0.0): 29 Jul 2025. Initial release
## License
[MIT](LICENSE)