AkbarBin UI
A lightweight HTML, CSS, and JavaScript framework for building fast, responsive, SEO-friendly, and conversion-focused business websites.
Getting Started
Welcome to AkbarBin UI. This framework helps you build fast, responsive, SEO-friendly, and conversion-focused business websites using HTML, CSS, and Vanilla JavaScript.
In just a few minutes, you'll be able to build your first page using the built-in components.
Prerequisites
Before you begin, make sure you have:
- A modern browser (Chrome, Edge, Firefox, Safari)
- Visual Studio Code or any other text editor
- Basic knowledge of HTML and CSS
- No Node.js, npm, or build tools required
Project Structure
Import the CSS in the following order.
Import CSS Files
Always import all CSS files in order to ensure that all components work properly.
Create Your First Section
Here is an example of a simple section using the framework's built-in components.
Hello AkbarBin UI
Your first section using AkbarBin UI Framework.
Best Practices
Use Design Tokens
Use the provided CSS variables instead of hardcoding values.
Reuse Components
Use built-in components like Buttons, Cards, and Badges before creating new classes.
Semantic HTML
Use the correct HTML elements to make the website structure more SEO-friendly and easier to maintain.
Keep It Simple
This framework is built to be lightweight. Avoid unnecessary CSS.
Next Step
Continue exploring the documentation to learn more about the framework architecture and available components.
- Installation
- Folder Structure
- Design Tokens
- Typography
- Components
- Responsive Utilities
Installation
Import CSS sesuai urutan berikut.
Folder Structure
A clean, predictable, and modular file structure designed to keep the project lightweight and easy to maintain.
Design Principles
A set of fundamental guidelines that ensure the website remains lightweight, responsive, and easy to maintain by leveraging semantic HTML and reusable design tokens.
Build with reusable components whenever possible.
Use a meaningful HTML structure.
Avoid hardcoding colors and spacing.
Build the layout starting from mobile sizes.
A lightweight framework with no dependencies.
Supports a good website structure.
Changelog
All notable changes to this project will be documented in this file.
- v1.0 - Initial Design System.
- Design Tokens
- Reset, Base, Layout
- Utilities
- Components
- Responsive
Core Design Tokens
The foundational CSS variables that define the framework's visual identity, including colors, typography, and spacing scales.
| Token | Value | Usage |
|---|---|---|
| --color-primary | #2F855A | Button, Link, Badge |
| --space-32 | 3.2rem | Gap, Margin |
| --radius-md | 1.2rem | Card, Button |
| --shadow-md | Medium Shadow | Cards |
Typography
The structural heading hierarchy and typographic scales optimized for readability, semantic clarity, and clean mobile responsiveness.
Heading 1
Heading 2
Heading 3
Heading 4
The body text uses Plus Jakarta Sans with a comfortable line height for reading.
Color Palette
In the next milestone, this section will visually display all color design tokens along with usage examples.
Layout Pattern
The mobile-first layout structures and grid systems built using semantic HTML to ensure seamless responsiveness across all screen sizes.
Badges
Badges are used to display labels, categories, or statuses concisely.
Cards
Cards group related content such as services, portfolios, testimonials, and contact information.
Service
Service card.
Portfolio
Portfolio card.
Testimonial
Testimonial card.
.card class as the base for all cards to keep the appearance consistent.
Forms
Forms collect user input using consistent field styles and spacing.
.form-group class to maintain spacing between fields.
Accordion
Accordions reveal additional information while keeping the page concise.
What is AkbarBin UI?
A CSS framework for business and MSME (UMKM) websites.
Is it mobile-friendly?
Yes, all components are designed to be responsive.
Icon Lists
Icon lists present key information in a clear and scannable format.
- SEO Friendly
- Responsive Design
- Manual Coding
Stats
Stats are used to visually display numbers or key achievements.
| Class | Purpose |
|---|---|
| .stats | Grid container |
| .stat | Individual statistic |
| .stat-number | Main value |
| .stat-label | Description |
Section Header
Section Headers are used to provide a consistent title and description for each section.
Professional Website
Consistent section heading.
.section-header per section to ensure a consistent page structure.
Utilities
Utility classes provide small layout and spacing adjustments without creating new components.
| Utility | Example |
|---|---|
| .text-center | Text alignment |
| .shadow-md | Medium shadow |
| .rounded-lg | Large border radius |
| .mb-48 | Bottom spacing |
| .w-full | Full width |
Hero
A hero section introduces your business, communicates the primary value proposition, and encourages visitors to take immediate action.
Build a Professional Business Website
Help local businesses grow with a fast, modern, and SEO-friendly website.
Call to Action (CTA)
Encourage visitors to perform the primary business goal, such as contacting your business or requesting a quotation.
Ready to Grow Your Business?
Let's build a professional website that helps you attract more customers.
Business Components
Hero
Headline, CTA, image.
About
Company introduction.
Services
Service cards.
Portfolio
Project showcase.
Testimonials
Customer reviews.
FAQ
Accordion component.
CTA
Primary conversion area.
Contact
Form + map + contact info.
Recommended Landing Page Structure
- Hero
- About
- Services
- Portfolio
- Why Choose Us
- Testimonials
- FAQ
- CTA
- Contact
- Footer
Landing Page Checklist
- Hero with a primary CTA
- Clear value proposition
- Services
- Portfolio
- Testimonials
- FAQ
- Contact Form
- Google Maps
- Footer
Component Inventory v1.0
Accessibility Guidelines
| Rule | Description |
|---|---|
| Semantic HTML | Use header, main, section, and footer elements. |
| Alt Text | All images must have alt text. |
| Label | Inputs must have labels. |
| Color Contrast | Ensure sufficient contrast between text and background colors. |
Performance & SEO
| Category | Recommendation |
|---|---|
| Images | Use WebP and lazy loading. |
| CSS | Use the core framework, avoid duplication. |
| HTML | Use the correct heading hierarchy. |
| Metadata | Add title, meta description, and Open Graph. |
| Schema | Use JSON-LD according to the business type. |