VvvebJs
repository·master·Indexed 27 days ago
https://github.com/givanz/vvvebjsA drag-and-drop page builder JavaScript library built with Vanilla JS and Bootstrap 5. It enables the creation of web pages using components, blocks, and widgets without complex build tools. The library supports page saving via PHP or Node.js backends and can be deployed using Docker.
What's inside vvvebjs
- Clarity assets, including icon sets and Sketch design files, are available for download directly from this repository or via the official Clarity website at https://clarity.design.
Use Open Iconic Icon Font (Standalone)
masterTo use Open Iconic as a standalone icon font, include the default stylesheet and use a
<span>with theoiclass and adata-glyphattribute.<link href="/open-iconic/font/css/open-iconic.css" rel="stylesheet"> <span class="oi" data-glyph="icon-name" title="icon name" aria-hidden="true"></span>Use Remix Icon as individual SVG files
masterYou can use Remix Icons as standard image files. Download the desired icon in SVG or PNG format from remixicon.com and embed it using an
<img>tag.<img height="32" width="32" src="img/admin-fill.svg" />Use Remix Icon SVG Sprites
masterDownload the
remixicon.symbol.svgfile and include it in your project. Use the<use>element to reference specific icons by their ID (e.g.,#ri-admin-fill).<svg class='remix'> <use xlink:href="your-path/remixicon.symbol.svg#ri-admin-fill"></use> </svg> <style> .remix { width: 24px; height: 24px; fill: #333; } </style>Install VvvebJs
masterTo install VvvebJs, clone the repository using Git. It is important to include submodules to ensure all dependencies are present.
For Git version 2.13 or newer:
git clone --recurse-submodules https://github.com/givanz/VvvebJsFor older Git versions:
git clone --recursive https://github.com/givanz/VvvebJsTo pull updates later:
git pull --recurse-submodulesgit clone --recurse-submodules https://github.com/givanz/VvvebJsUse Iconoir in Figma
masterThe Iconoir pack is available for use in Figma via the Figma community.Use Ikonate icons as an SVG sprite
masterAfter running the build command, you can find the SVG sprite in./ikonate/sprite. Using the SVGusemethod with a sprite allows for CSS customization of the icons.Use Feather Icons with SVG Sprites
masterYou can use the
feather-sprite.svgfile to reference icons using the<use>element. This is efficient for reducing HTTP requests.- Obtain the sprite: Install via npm or copy
feather-sprite.svgfrom thedistdirectory. - Reference icons: Use the
<use>tag with a fragment identifier pointing to the icon name.
Example usage:
<svg class="feather"> <use href="path/to/dist/feather-sprite.svg#circle"/> </svg>Recommended CSS for styling:
.feather { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }<svg width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" > <use href="path/to/feather-sprite.svg#circle"/> </svg>- Obtain the sprite: Install via npm or copy
Use Iconoir with React Native
masterFor React Native projects, use the dedicatediconoir-react-nativepackage. Refer to its specific documentation for implementation details.Install css.gg via npm or yarn
masterInstall the latest version of the
css.ggicon library using your preferred package manager.npm i css.ggyarn add css.ggUse Iconoir with React
masterFor React projects, use the dedicatediconoir-reactpackage. Refer to its specific documentation for implementation details.Use Open Iconic Icon Font with Bootstrap
masterTo integrate with Bootstrap, use the provided Bootstrap-specific stylesheets and the
oi oi-icon-nameclass pattern.<link href="/open-iconic/font/css/open-iconic-bootstrap.css" rel="stylesheet"> <span class="oi oi-icon-name" title="icon name" aria-hidden="true"></span>