id
string | description
string | sinhala_description
string | html
string | framework
string | color_scheme
sequence | category
string | responsive
bool | accessibility
sequence | image_path
string | sinhala_font
string |
|---|---|---|---|---|---|---|---|---|---|---|
ui_sinhala_001
|
Modern e-commerce product card with pastel colors and hover effects
|
පැස්ටල් වර්ණ සහ hover effects සහිත නවීන e-commerce නිෂ්පාදන කාඩ් එකක්
|
<div class='bg-white p-6 rounded-lg shadow-md hover:shadow-xl transition duration-300'><img src='product.jpg' alt='Product' class='w-full h-48 object-cover rounded'><h3 class='text-lg font-semibold mt-4'>නිෂ්පාදනය</h3><p class='text-gray-600'>රු. 2500</p><button class='mt-4 bg-pink-400 text-white px-4 py-2 rounded hover:bg-pink-500' aria-label='Add to cart'>කරත්තයට එකතු කරන්න</button></div>
|
Tailwind CSS
|
[
"#FBCFE8",
"#FFFFFF",
"#4B5563"
] |
e-commerce
| true
|
[
"ARIA labels",
"High-contrast text"
] |
screenshots/ui_sinhala_001.png
|
Noto Sans Sinhala
|
ui_sinhala_002
|
Sticky navbar with blue gradient
|
නිල් පැහැ gradient සහ sticky positioning සහිත navbar එකක්
|
<nav class='bg-gradient-to-r from-blue-500 to-blue-700 sticky top-0 p-4 text-white'><div class='container mx-auto flex justify-between items-center'><a href='#' class='text-2xl font-bold'>Logo</a><ul class='flex space-x-6'><li><a href='#' class='hover:underline'>මුල් පිටුව</a></li><li><a href='#' class='hover:underline'>ගැන</a></li></ul></div></nav>
|
Tailwind CSS
|
[
"#3B82F6",
"#1E3A8A"
] |
modern
| true
|
[
"ARIA labels"
] |
screenshots/ui_sinhala_002.png
|
Noto Sans Sinhala
|
nav-01
|
Responsive navigation bar with dropdown menus
|
විවිධ පරිශීලක උපකරණ සඳහා ගැලපෙන පතන මෙනු සහිත සංචාලන තීරුව
|
<nav class='main-nav'><ul><li><a href='#'>Home</a></li><li class='dropdown'><a href='#'>Services</a><ul class='dropdown-content'><li><a href='#'>Service 1</a></li><li><a href='#'>Service 2</a></li></ul></li><li><a href='#'>Contact</a></li></ul></nav>
|
vanilla
|
[
"blue-gray"
] |
navigation
| true
|
[
"WCAG AA"
] |
/assets/images/components/nav-01.jpg
|
Noto Sans Sinhala
|
hero-01
|
Full-width hero section with call-to-action
|
ක්රියාකාරී බොත්තම් සහිත පූර්ණ පළල ප්රධාන පෙදෙස
|
<section class='hero'><div class='hero-content'><h1>Welcome to our website</h1><p>Learn more about our services and offerings</p><button class='cta-button'>Get Started</button></div></section>
|
vanilla
|
[
"blue-white"
] |
hero
| true
|
[
"WCAG AA"
] |
/assets/images/components/hero-01.jpg
|
Noto Sans Sinhala
|
card-01
|
Product card with image, title and price
|
රූපය, මාතෘකාව සහ මිල සහිත නිෂ්පාදන කාඩ්පත
|
<div class='product-card'><img src='product.jpg' alt='Product Image'><h3>Product Title</h3><p class='price'>$19.99</p><button>Add to Cart</button></div>
|
bootstrap
|
[
"white-accent"
] |
card
| true
|
[
"WCAG A"
] |
/assets/images/components/card-01.jpg
|
Abhaya Libre
|
form-01
|
Contact form with validation
|
වලංගුකරණය සහිත සම්බන්ධතා පෝරමය
|
<form class='contact-form'><div class='form-group'><label for='name'>Name</label><input type='text' id='name' required></div><div class='form-group'><label for='email'>Email</label><input type='email' id='email' required></div><div class='form-group'><label for='message'>Message</label><textarea id='message' rows='5'></textarea></div><button type='submit'>Submit</button></form>
|
vanilla
|
[
"neutral"
] |
form
| true
|
[
"WCAG AAA"
] |
/assets/images/components/form-01.jpg
|
Noto Sans Sinhala
|
footer-01
|
Simple footer with links and copyright
|
සබැඳි සහ ප්රකාශන හිමිකම් සහිත සරල පාදකය
|
<footer class='site-footer'><div class='footer-links'><a href='#'>About</a><a href='#'>Services</a><a href='#'>Contact</a><a href='#'>Privacy Policy</a></div><p class='copyright'>© 2025 Company Name. All rights reserved.</p></footer>
|
vanilla
|
[
"dark"
] |
footer
| true
|
[
"WCAG AA"
] |
/assets/images/components/footer-01.jpg
|
Noto Sans Sinhala
|
table-01
|
Responsive data table with sorting
|
වර්ගීකරණය කිරීමේ හැකියාව සහිත ප්රතිචාරාත්මක දත්ත වගුව
|
<table class='data-table sortable'><thead><tr><th>ID</th><th>Name</th><th>Date</th><th>Status</th></tr></thead><tbody><tr><td>001</td><td>John Doe</td><td>2025-01-15</td><td>Active</td></tr><tr><td>002</td><td>Jane Smith</td><td>2025-02-20</td><td>Pending</td></tr></tbody></table>
|
jquery
|
[
"neutral"
] |
table
| true
|
[
"WCAG AA"
] |
/assets/images/components/table-01.jpg
|
Abhaya Libre
|
gallery-01
|
Image gallery with lightbox
|
ලයිට්බොක්ස් සහිත රූප ගැලරිය
|
<div class='image-gallery'><a href='large-image-1.jpg' class='gallery-item'><img src='thumbnail-1.jpg' alt='Gallery Image 1'></a><a href='large-image-2.jpg' class='gallery-item'><img src='thumbnail-2.jpg' alt='Gallery Image 2'></a><a href='large-image-3.jpg' class='gallery-item'><img src='thumbnail-3.jpg' alt='Gallery Image 3'></a></div>
|
jquery
|
[
"light"
] |
gallery
| true
|
[
"WCAG A"
] |
/assets/images/components/gallery-01.jpg
|
Noto Sans Sinhala
|
testimonial-01
|
Customer testimonial slider
|
පාරිභෝගික ප්රශංසා ස්ලයිඩරය
|
<div class='testimonial-slider'><div class='testimonial'><p class='quote'>This product has completely transformed our business operations!</p><p class='author'>- Sarah Johnson, CEO</p></div><div class='testimonial'><p class='quote'>The customer service was exceptional and the product exceeded our expectations.</p><p class='author'>- Michael Chen, Director</p></div></div>
|
slick
|
[
"light-accent"
] |
testimonial
| true
|
[
"WCAG AA"
] |
/assets/images/components/testimonial-01.jpg
|
Abhaya Libre
|
pricing-01
|
Pricing table with multiple tiers
|
විවිධ මට්ටම් සහිත මිල වගුව
|
<div class='pricing-table'><div class='pricing-plan'><h3>Basic</h3><p class='price'>$19<span>/month</span></p><ul><li>Feature 1</li><li>Feature 2</li><li>Feature 3</li></ul><button>Select Plan</button></div><div class='pricing-plan featured'><h3>Pro</h3><p class='price'>$49<span>/month</span></p><ul><li>All Basic Features</li><li>Feature 4</li><li>Feature 5</li></ul><button>Select Plan</button></div></div>
|
vanilla
|
[
"blue-white"
] |
pricing
| true
|
[
"WCAG AA"
] |
/assets/images/components/pricing-01.jpg
|
Noto Sans Sinhala
|
accordion-01
|
Collapsible accordion for FAQs
|
නිතර අසන ප්රශ්න සඳහා හැකිළිය හැකි අකෝඩියනය
|
<div class='accordion'><div class='accordion-item'><h3 class='accordion-header'>Question 1?</h3><div class='accordion-content'><p>Answer to question 1 goes here with detailed explanation.</p></div></div><div class='accordion-item'><h3 class='accordion-header'>Question 2?</h3><div class='accordion-content'><p>Answer to question 2 goes here with detailed explanation.</p></div></div></div>
|
jquery
|
[
"neutral"
] |
accordion
| true
|
[
"WCAG AA"
] |
/assets/images/components/accordion-01.jpg
|
Noto Sans Sinhala
|
YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/datasets-cards)
UiPlus: Creative Web UI Dataset
UiPlus is a dataset designed for training machine learning models to generate creative web UI designs, with a focus on modern web components and Sinhala-specific user interfaces. It contains HTML code snippets, design descriptions, and metadata for UI components like product cards, navbars, and more, primarily built with Tailwind CSS. The dataset is tailored for e-commerce, modern, and minimalist UI styles, with support for Sinhala typography and accessibility features.
Dataset Structure
The dataset is stored in a JSON file (data.json) with the following fields for each UI component:
| Field | Type | Description |
|---|---|---|
id |
String | Unique identifier for the UI component (e.g., "ui_sinhala_001"). |
description |
String | English description of the UI design (e.g., "Modern e-commerce product card"). |
sinhala_description |
String | Sinhala description of the UI design (e.g., "පැස්ටල් වර්ණ සහිත නිෂ්පාදන කාඩ්"). |
html |
String | HTML code snippet for the UI component, using Tailwind CSS classes. |
framework |
String | CSS framework used (e.g., "Tailwind CSS"). |
color_scheme |
List[String] | List of hex color codes used in the UI (e.g., ["#FBCFE8", "#FFFFFF"]). |
category |
String | UI style or category (e.g., "e-commerce", "modern", "minimalist"). |
responsive |
Boolean | Whether the UI is responsive (true/false). |
accessibility |
List[String] | Accessibility features (e.g., ["ARIA labels", "High-contrast text"]). |
image_path |
String | Path to the UI screenshot (e.g., "screenshots/ui_sinhala_001.png"). |
sinhala_font |
String | Sinhala font used (e.g., "Noto Sans Sinhala"). |
Example Entry
{
"id": "ui_sinhala_001",
"description": "Modern e-commerce product card with pastel colors and hover effects",
"sinhala_description": "පැස්ටල් වර්ණ සහ hover effects සහිත නවීන e-commerce නිෂ්පාදන කාඩ් එකක්",
"html": "<div class='bg-white p-6 rounded-lg shadow-md hover:shadow-xl transition duration-300'><img src='/datasets/pathii/UiPlus/resolve/main/product.jpg' alt='Product' class='w-full h-48 object-cover rounded'><h3 class='text-lg font-semibold mt-4'>නිෂ්පාදනය</h3><p class='text-gray-600'>රු. 2500</p><button class='mt-4 bg-pink-400 text-white px-4 py-2 rounded hover:bg-pink-500' aria-label='Add to cart'>කරත්තයට එකතු කරන්න</button></div>",
"framework": "Tailwind CSS",
"color_scheme": ["#FBCFE8", "#FFFFFF", "#4B5563"],
"category": "e-commerce",
"responsive": true,
"accessibility": ["ARIA labels", "High-contrast text"],
"image_path": "screenshots/ui_sinhala_001.png",
"sinhala_font": "Noto Sans Sinhala"
}
- Downloads last month
- 4
Purpose
: To enable the training of text-to-UI generation models that can produce modern, responsive, and accessible web UI components, with a focus on Sinhala e-commerce and cultural context.
Current Size
: 2 UI components (product card, navbar), with plans to expand.
Language
: English and Sinhala (bilingual descriptions).
Framework
: Tailwind CSS.
License
).
Size of downloaded dataset files:
9.83 kB
Size of the auto-converted Parquet files:
12.9 kB
Number of rows:
12