@hashtagcms/web-ui-kit
v1.0.8
Published
Premium Laravel Frontend Themes and UI Components for HashtagCms
Downloads
46
Readme
@hashtagcms/web-ui-kit (Laravel/Blade)
Frontend Themes and UI components for the HashtagCms ecosystem
This package contains frontend themes specifically designed for the Blade/PHP (Laravel) ecosystem of HashtagCms. It uses the core functionality provided by @hashtagcms/web-sdk to share underlying logic across different designs.
Target Platform: PHP / Laravel
Other Platforms
If you are looking for other implementations, please check:
- Node.js:
@hashtagcms/web-ui-kit-nodejs(Coming Soon) - Java:
@hashtagcms/web-ui-kit-java(Coming Soon) - Core SDK:
@hashtagcms/web-sdk(Shared JS Logic)
✨ Features
- 🎨 Multiple Themes - Includes
basicandelegantthemes out of the box - 🛠️ Customizable - Built with SCSS variables for easy branding
- 📦 Modular - Use source files or pre-compiled assets
- 🚀 Framework Agnostic - Works with any JavaScript framework
- 📱 Responsive - Mobile-first design
- ♿ Accessible - WCAG compliant
📦 Installation
Installation
npm install @hashtagcms/web-ui-kitBasic Usage
Import in your SCSS:
@import "~@hashtagcms/web-ui-kit/src/themes/basic/sass/app";In JavaScript:
import '@hashtagcms/web-ui-kit/src/themes/basic/js/app';In HTML:
<link rel="stylesheet" href="node_modules/@hashtagcms/web-ui-kit/dist/themes/basic/app.css">
<script src="node_modules/@hashtagcms/web-ui-kit/dist/themes/basic/app.js"></script>💻 CLI Usage
You can interactively copy assets (fonts, images, vendor files) and templates (views) from a theme to your project using the CLI.
# Run the interactive setup
npx web-ui-kitThe CLI will ask you:
- Which theme you want to install
- Where to copy the assets (default:
./resources/assets/fe)
The assets will be copied to <destination>/<theme-name>/.
🎨 Available Themes
Basic Theme
Clean, traditional design perfect for content-focused websites.
- ✅ FontAwesome icons
- ✅ Bootstrap 5 styling
- ✅ Neutral color palette
- ✅ Subscribe form component
Elegant Theme
Modern, sophisticated design with smooth animations.
- ✅ Glass morphism effects
- ✅ Parallax scrolling
- ✅ Gradient text and buttons
- ✅ Card animations
- ✅ Dark color scheme
📚 Documentation
- Getting Started - Installation and basic usage
- Creating Themes - Step-by-step guide to create custom themes
- Theme Structure - Package organization and architecture
- API Reference - Complete API documentation
- FAQ - Frequently asked questions
🚀 Creating a Custom Theme
# 1. Create theme directory
mkdir -p src/themes/my-theme/{js,sass,img}
# 2. Create entry files
touch src/themes/my-theme/js/app.js
touch src/themes/my-theme/sass/app.scss
# 3. Build
npm run buildSee the Creating Themes Guide for detailed instructions.
🛠️ Development
Build Commands
# Development build
npm run dev
# Production build
npm run build
# Watch mode
npm run watchProject Structure
@hashtagcms/web-ui-kit/
├── src/
│ ├── themes/ # Individual themes
│ │ ├── basic/ # Basic theme using @hashtagcms/web-sdk
│ │ └── elegant/ # Elegant theme using @hashtagcms/web-sdk
├── dist/ # Compiled assets
├── docs/ # Documentation
└── package.json🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
How to Contribute
- Fork the repository
- Create your theme or feature
- Test thoroughly
- Submit a pull request
🧪 Testing
This project uses Jest for testing.
# Run tests
npm run test📄 License
MIT © HashtagCms
🆘 Support
🌟 Showcase
Using @hashtagcms/web-ui-kit in your project? We'd love to feature it! Open an issue to share your work.
Made with ❤️ by the HashtagCms team
