Convert Figma logo to code with AI

framework7io logoframework7

Full featured HTML framework for building iOS & Android apps

18,045
3,233
18,045
190

Top Related Projects

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.

25,724

Quasar Framework - Build high-performance VueJS user interfaces in record time

⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, Capacitor, Ionic, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.

access core functions on Android, iPhone and Blackberry using JavaScript

Quick Overview

Framework7 is a free and open-source HTML framework for developing mobile, desktop, or web apps with a native look and feel. It's platform-agnostic and can be used with or without Vue.js, React, or Svelte for building iOS & Android apps, Progressive Web Apps, or desktop apps via Electron.

Pros

  • Rich UI components and layouts that closely mimic native iOS and Android interfaces
  • Flexible and modular architecture allowing developers to use only the components they need
  • Supports multiple JavaScript frameworks (Vue, React, Svelte) as well as vanilla JavaScript
  • Extensive documentation and active community support

Cons

  • Learning curve can be steep for developers new to mobile app development
  • Performance may not match truly native apps in complex scenarios
  • Limited customization options for some components without diving into the source code
  • May require additional plugins or libraries for advanced features like push notifications

Code Examples

  1. Creating a basic page structure:
<div class="page">
  <div class="navbar">
    <div class="navbar-inner">
      <div class="title">My App</div>
    </div>
  </div>
  <div class="page-content">
    <p>Page content goes here</p>
  </div>
</div>
  1. Initializing Framework7 app:
const app = new Framework7({
  root: '#app',
  name: 'My App',
  id: 'com.myapp.test',
  theme: 'auto',
});
  1. Creating a popup:
app.popup.create({
  content: `
    <div class="popup">
      <div class="page">
        <div class="navbar">
          <div class="navbar-inner">
            <div class="title">Popup</div>
            <div class="right">
              <a href="#" class="link popup-close">Close</a>
            </div>
          </div>
        </div>
        <div class="page-content">
          <p>Popup content goes here</p>
        </div>
      </div>
    </div>
  `,
}).open();

Getting Started

  1. Install Framework7:

    npm install framework7
    
  2. Create an HTML file with basic structure:

    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">
      <title>My App</title>
      <link rel="stylesheet" href="path/to/framework7.bundle.min.css">
    </head>
    <body>
      <div id="app"></div>
      <script src="path/to/framework7.bundle.min.js"></script>
      <script src="js/app.js"></script>
    </body>
    </html>
    
  3. Initialize the app in your JavaScript file (app.js):

    const app = new Framework7({
      root: '#app',
      name: 'My App',
      id: 'com.myapp.test',
      routes: [
        // Define your app routes here
      ],
    });
    

Competitor Comparisons

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.

Pros of Ionic Framework

  • Larger community and ecosystem, with more resources and third-party plugins
  • Better integration with Angular, React, and Vue.js frameworks
  • More comprehensive documentation and learning resources

Cons of Ionic Framework

  • Steeper learning curve, especially for developers new to web technologies
  • Larger bundle sizes, which can impact app performance on low-end devices
  • More opinionated structure, which may limit flexibility in some cases

Code Comparison

Framework7 (HTML structure):

<div class="page">
  <div class="navbar">
    <div class="navbar-inner">
      <div class="title">My App</div>
    </div>
  </div>
  <div class="page-content">
    <!-- Content goes here -->
  </div>
</div>

Ionic Framework (Angular component):

@Component({
  selector: 'app-home',
  template: `
    <ion-header>
      <ion-toolbar>
        <ion-title>My App</ion-title>
      </ion-toolbar>
    </ion-header>
    <ion-content>
      <!-- Content goes here -->
    </ion-content>
  `
})
export class HomePage { }

Both frameworks offer similar functionality for building mobile apps using web technologies. Framework7 is more lightweight and easier to get started with, while Ionic Framework provides better integration with popular JavaScript frameworks and has a larger ecosystem. The choice between the two depends on your specific project requirements and familiarity with web development technologies.

25,724

Quasar Framework - Build high-performance VueJS user interfaces in record time

Pros of Quasar

  • Built on Vue.js, offering a more modern and flexible framework
  • Extensive UI component library with Material Design and iOS theme support
  • Supports multiple build modes: SPA, SSR, PWA, and mobile/desktop apps

Cons of Quasar

  • Steeper learning curve for developers new to Vue.js ecosystem
  • Less focus on native-like mobile UI compared to Framework7

Code Comparison

Framework7 (HTML-based):

<div class="page">
  <div class="navbar">
    <div class="navbar-inner">
      <div class="title">My App</div>
    </div>
  </div>
  <div class="page-content">
    <!-- Content goes here -->
  </div>
</div>

Quasar (Vue.js-based):

<template>
  <q-layout view="lHh Lpr lFf">
    <q-header elevated>
      <q-toolbar>
        <q-toolbar-title>My App</q-toolbar-title>
      </q-toolbar>
    </q-header>
    <q-page-container>
      <!-- Content goes here -->
    </q-page-container>
  </q-layout>
</template>

Both frameworks offer powerful tools for building mobile and web applications, but Quasar leverages Vue.js for a more component-based approach, while Framework7 provides a more traditional HTML-based structure. Quasar excels in versatility and modern web development practices, while Framework7 focuses on creating native-like mobile experiences.

⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, Capacitor, Ionic, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.

Pros of NativeScript

  • Provides true native performance by compiling to native code
  • Allows direct access to native APIs and platform-specific features
  • Supports TypeScript, offering better type checking and tooling

Cons of NativeScript

  • Steeper learning curve, especially for developers new to mobile development
  • Smaller community and ecosystem compared to Framework7
  • May require platform-specific code for certain features

Code Comparison

NativeScript (XML and TypeScript):

<StackLayout>
  <Label text="Hello, NativeScript!" />
  <Button text="Click Me" tap="onButtonTap" />
</StackLayout>
export function onButtonTap() {
  console.log("Button tapped!");
}

Framework7 (HTML and JavaScript):

<div class="page">
  <div class="navbar">
    <div class="navbar-inner">
      <div class="title">Hello, Framework7!</div>
    </div>
  </div>
  <div class="page-content">
    <a class="button" id="myButton">Click Me</a>
  </div>
</div>
$$('#myButton').on('click', function () {
  console.log('Button clicked!');
});

access core functions on Android, iPhone and Blackberry using JavaScript

Pros of PhoneGap

  • Broader platform support, including iOS, Android, Windows, and more
  • Extensive plugin ecosystem for accessing native device features
  • Simpler learning curve for web developers

Cons of PhoneGap

  • Performance can be slower compared to native apps
  • User interface may not feel as native or smooth
  • Limited access to some advanced device features

Code Comparison

PhoneGap:

document.addEventListener('deviceready', onDeviceReady, false);

function onDeviceReady() {
    console.log('PhoneGap is ready');
    navigator.geolocation.getCurrentPosition(onSuccess, onError);
}

Framework7:

var app = new Framework7({
    root: '#app',
    name: 'My App',
    theme: 'auto',
    routes: [
        // Define your routes here
    ]
});

Framework7 focuses on creating a UI that looks and feels like native iOS and Android apps, while PhoneGap provides a wrapper for web technologies to access native device features. Framework7 offers better performance and a more native-like experience, but PhoneGap has broader platform support and a larger plugin ecosystem. The choice between the two depends on the specific requirements of your project, such as target platforms, performance needs, and desired user experience.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Framework7

Build Status Greenkeeper

Framework7

Full Featured Mobile HTML Framework For Building iOS & Android Apps

Supporting Framework7

Framework7 is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider becoming a backer or sponsor on Patreon.

Sponsors

NoNeedToStudy.com - get help with taking online classes and tests from expert tutors WFM Buddy - Delighting your Workforce Route4Me Route Planner Togel Hongkong, Togel Singapore, Togel Hari Ini, Data Keluaran SGP HK Prize Svindel.info | Vi sjekker gambling- og spillsider for svindel Casino utan Svensk Licens 2023 Nettikasinot 2022 | Löydä Luotettava & Turvallinen Nettikasino! Casino utan svensk licens - Casinon utan spelpaus med Trustly Thorium Builder - full visual Framework7 app builder Tommy utländska casino med låg insättning Buy YouTube Subscribers
Buy TikTok Likes With Instant Delivery - VVSLikes.com SMM Panel Services - RunLikes.com CreditCaptain – Leading AI Credit Repair Service Gymgrit Guidebook.BetWinner Buy Instagram Followers - Real, Instant Delivery & Only $0.49 Online Kasyno Polis Proxy Coupons IGComment trygge norske casino SMM Panel Services JAP casino non AAMS
Buy YouTube Views YouTube Video Downloader $10 Minimum Deposit Casinos in Australia Siti non AAMS sicuri casino utan svensk licens Сasino Without Swedish License Сasino Without Swedish License Ai2people The Red Playground Expert Australian Online Casino Guide CasinoRevisor: Alles über die besten Casinos in Deutschland Accelerating Your Software Products | Teravision Technologies
revistacomunicacion.org Ta καλύτερα διαδικτυακά καζίνο στην Ελλάδα το 2024 Buy Instagram Followers BuffZone Buy Tiktok Followers Buy YouTube Views Bountii Buy Instagram Followers BuyCheapestFollowers top Canadian online casinos rated on HolyMolyCasinos UAE online casino reviews DISCOVER THE BEST COUPONS ONLINE Buy YouTube Subscribers Buitenlandse Online Casinos
Casinos Online Sin Licencia 2024 Slotozilla Poland Buy Premium Instagram Followers in PopularityBazaar JinaCoin | 仮想通貨/暗号資産ニュース・情報メディア Proxidize - A New Generation of Proxies Buy Instagram Likes - Real Likes & Instant Delivery! UK Online Casinos Not On GamStop Trace a phone number within minutes buy youtube likes UpGrow: #1 AI-Powered Instagram Growth | Real IG Followers Best Bitcoin Casinos Aviator game
Lucky jet UK Betting Sites Not on GamStop » Non GamStop Bookmakers Bet Consulting AirdropList(エアドロップリスト) | 仮想通貨のエアドロップ最新情報一覧 Svitua Welcome To SafeHamsters: The Pinnacle of Crypto Sports - SafeHamsters Fast Withdrawal Сasinos in Аustralia ✔️ Get Your Money Instant Buy Instagram Follower & Likes | Dopoid Detectico Phone Tracker to Find Location by Phone Number UK Betting Sites Not on GamStop » Non GamStop Bookies 2023 Buy Instagram Reel Views Best Online Casino Philippines 2023 🥇 Online Gambling Philippines Guide
Aviators 888Starz Polska: Załóż Konto i Otrzymaj Bonus Powitalny do 1500 EUR! Buy Instagram Followers | Real, Instant Delivery & Only $2.97 BairesDev: Promoting Open Source for a Better Future Najlepsze Kasyna Online w Polsce 2023 - Dobre Kasyna Nettikasinot | Katso parhaat nettikasinot 2023 | Top 10 lista Nettcasino i Norge 2023 » Beste norske online casino på nett Buy instagram followers UK Casino Zonder Registratie 2023 | CZR's Top No Account Casino's Ranglijst Beoordelen van nieuwe online casino's 2023 Onlinecasinosspelen.com site is dé nummer één gids, waardoor je gemakkelijk alle informatie van de top 10 online casino sites. Огляд найкращих казино в Україні
Aviator Game | Play Aviator Money Game by Spribe Pin Up Aviator Game Casino | Aviator Game in India Revisão do jogo Lucky Jet - Jogue por dinheiro real Jogos Lucky Jet Gioca Crazy Time Casinò per soldi veri - Crazy Time Casinò Italia JetX Apostas | JetiX Aposta - Jogo do Foguete que Ganha Dinheiro neue online casinos deutschland jogo do aviãozinho SplendorAgency - Uniquely crafted digital solutions for creative projects crypto casinos online casino ideal nederland betting sider Fastest Payout Casinos in Canada [2022]
Correct Casinos | Reputable Online Casinos, Slots & Bonuses Buy Followers, Likes, Views & Comments | BuzzVoice.com NonGamstopCasinos - Professional Service on Selection of Casino and Betting sites for UK Gamblers CSGO Captain | Your Guide to Counter-Strike 2022 - CS:GO Captain NonGamStopOdds | Find the best UK casino not on GamStop Togel Online | Togel Hongkong | Togel Singapore Resmi Casinos Not on GamStop » Most Trusted Non GamStop UK Casinos ⭐️ Discover The Best Reputable Online Casinos in Canada Buy Instagram views Non-GAMSTOP casinos NonGamStopWager.com Fortune Games® | Free Spins No Deposit Slot Games | Online Slots
Online Casino's ► Beste Belgische Casino's 🇧🇪 Best 1$ deposit casino in Canada Online Casino HEX - Best Online Casinos in Canada VPN for Firefox to Make the Internet a Better Place CasinoExpo svenska nya casinon online Ranking Bukmacherów Legalnych 2020. Bukmacher nr 1 to... Inkedin - Gambling News & Updates. Find Out What's Happening Here! Casinority Australia - Best online casino guide for Australian players Buy Instagram Likes from Goread Evolution Host - A DDoS Protected VPS host that accepts Bitcoin Casino En Ligne Canada, Les Meilleurs Casinos Virtuels Canadiens Write My Essay For Me
Rise — Creative Web Development Agency CyberBrain IT Services HICAPPS - Health Informatics Custom APPs Blokt - Cryptocurrency News Wappler - The Visual Web App Creator

Getting Started

Framework7 Development

First, install all dependencies:

$ npm install

Development Builds

The following npm scripts are available to create development builds:

  • build:dev - build development versions of all packages (Core, Vue, React, Svelte)
  • build-core:dev - build development version of Core (vanilla JS) Framework7
  • build-react:dev - build development version of Framework7 React package
  • build-vue:dev - build development version of Framework7 Vue package
  • build-svelte:dev - build development version of Framework7 Svelte package

Compiled results will be available in build/ folder.

Production Builds

To build production versions the following npm scripts are available:

  • build:prod - build production versions of all packages (Core, Vue, React, Svelte)
  • build-core:prod - build production version of Core (vanilla JS) Framework7
  • build-react:prod - build production version of Framework7 React package
  • build-vue:prod - build production version of Framework7 Vue package
  • build-svelte:prod - build production version of Framework7 Svelte package

Compiled results will be available in packages/ folder.

Kitchen Sink

To run Kitchen Sink with development environment (development version will be built first) use the following npm scripts:

  • core - build development version of Core (vanilla JS) Framework7 package and run core Kitchen Sink
  • react - build development version of Framework7 React package and run React Kitchen Sink
  • vue - build development version of Framework7 Vue package and run Vue Kitchen Sink
  • svelte - build development version of Framework7 Svelte package and run Svelte Kitchen Sink

Source Code

Whole source code is located under the /src/ folder.

Contributing

Before you open an issue please review the contributing guideline.

All changes should be committed to src/ files only!

Framework7 uses LESS for CSS compilations, and ES modules JS files.

The project uses .editorconfig and ESLint to define and lint the coding style of each file. We recommend that you install the Editor Config and ESLint extension for your preferred IDE.

If you want to help in Framework7 development and make it event better visit this page: https://framework7.io/contribute/

Forum

If you have questions about Framework7 or want to help others you are welcome to special forum at https://forum.framework7.io/

Docs

Documentation available at https://framework7.io/docs/

Tutorials

Tutorials available at https://framework7.io/tutorials/

Showcase

Appstore apps made with Framework7: https://framework7.io/showcase/

Previous Versions

NPM DownloadsLast 30 Days