Component-based design is the cornerstone of the modern UI development process. With rise of more UI frameworks every day, the web platform has a serious issue of fragmentation and portability.
Web components to the rescue! This is the collection of web components (WC here forward) that we use at RanchiMall.especially since we are a framework-less development environment so this was a logical choice.
Just download the components you like, link them with a script tag and drop it in HTML done!.
Features
Native and Cross framework support
Standalone functionality
Easy styling
Adaptive scaling
Quick Start
To start using these components, Select the ones you want to add to your project. You can un-check 'get minified' to get the readable code.
Now you can download or copy the source code for selected components.
You might get a warning while downloading like this file is not safe,
please allow the download as this is caused when downloading files with '.js' extension. These components are 100% safe to use.
Link the downloaded js with <script src=".../components.js"></script> at bottom of your HTML file just before </body> tag.
Get minified
Select allClear all
Copy source codeDownload JS file
Global styling
Buttons
Buttons are used in various basic UI interactions to perform an action.
Popups are used to show addition UI elements that you may want to hide at first and reveal them when
needed.
On
Off
🤷
Switch
To start using SM Components
Select
<sm-select> is very similar to starndatd HTML5 select and it's markup stucture is
also identical.
option1option2 somethingoption3
Spinner
<sm-select> is very similar to starndatd HTML5 select and it's markup stucture is
also identical.
Strip select
To start using SM Components
MovieTV seriesVideoMusic
Tabs
To start using SM Components
inboxsentdraftspam
gjdhnsrfijbgn bdfjnbj
jadifjoaijdiajdo
dosfighjoi
flkmgklfmzkl
hbdsfhb
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Facere neque incidunt aut laudantium,
quam
id,
molestiae vero blanditiis nisi alias in magnam autem quasi cumque eveniet qui cupiditate nam
corrupti?
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Blanditiis fuga ipsam, explicabo, eius
accusamus
consectetur ex sunt soluta voluptatem iure totam nulla expedita suscipit minus molestiae
similique
odio optio
quibusdam.