All Projects → benjarier → Framer-app-base

benjarier / Framer-app-base

Licence: MIT License
A Framer module to create the base of an app with a flow component and a tab bar menu

Programming Languages

coffeescript
4710 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Framer-app-base

Framer-Module-ShakeEvent
Shake event for your prototype.
Stars: ✭ 62 (+376.92%)
Mutual labels:  prototype, framer, framerjs, framer-studio
Framer-CollectionComponent
Framer Module
Stars: ✭ 22 (+69.23%)
Mutual labels:  prototype, framer, framerjs, framer-studio
framer-seed
Kickstart your Framer Library prototype development.
Stars: ✭ 31 (+138.46%)
Mutual labels:  prototype, framer, framerjs
framer-view-stack
A Framer module for creating views that stack on top of each other.
Stars: ✭ 24 (+84.62%)
Mutual labels:  framer, framerjs
syntax-atom-ui
An Atom UI theme inspired by Framer’s popular code editor.
Stars: ✭ 26 (+100%)
Mutual labels:  framer
PureForm
No description or website provided.
Stars: ✭ 22 (+69.23%)
Mutual labels:  prototype
DynamicProto-JS
Generates dynamic prototype methods for JavaScript objects (classes) by supporting method definition within their "class" constructor (like an instance version), this removes the need to expose internal properties on the instance (this) which results in better code minfication and therefore improved load times for your users.
Stars: ✭ 16 (+23.08%)
Mutual labels:  prototype
sirius
Modern coffeescript/javascript framework
Stars: ✭ 20 (+53.85%)
Mutual labels:  prototype
uibuilder.nim
UI prototyping w/ Glade for lazy me
Stars: ✭ 21 (+61.54%)
Mutual labels:  prototype
github-action
Synopsys Detect integration with Github Actions
Stars: ✭ 15 (+15.38%)
Mutual labels:  prototype
tokonoma
Graphics related projects/prototypes/playground (Vulkan, C++17)
Stars: ✭ 23 (+76.92%)
Mutual labels:  prototype
graphql
A library for handling GraphQL requests with Mirage JS
Stars: ✭ 62 (+376.92%)
Mutual labels:  prototype
atlaskit-framerx
[Unofficial] Atlaskit for Framer X (experimental)
Stars: ✭ 27 (+107.69%)
Mutual labels:  prototype
dead-simple-text
Minimalist plain text editor for the web
Stars: ✭ 34 (+161.54%)
Mutual labels:  prototype
iconoir
A Simple and Definitive Open-Source Icons Library
Stars: ✭ 2,429 (+18584.62%)
Mutual labels:  framer
nested-task-list-mobx-react
A nested task list prototype built with React + MobX and Material-ui
Stars: ✭ 25 (+92.31%)
Mutual labels:  prototype
FramerMapboxJS
Simplest way to integrate Mapbox maps on your Framer prototypes.
Stars: ✭ 45 (+246.15%)
Mutual labels:  framer
starter
Create vertical search web application in minutes with generator (based on ItemsAPI)
Stars: ✭ 21 (+61.54%)
Mutual labels:  prototype
prototyped.js
Some common Typescript prototypes
Stars: ✭ 22 (+69.23%)
Mutual labels:  prototype
syntax-atom
An Atom dark theme inspired by Framer’s popular code editor.
Stars: ✭ 22 (+69.23%)
Mutual labels:  framer

framer-app-base

A Framer module to create the base of an app with a flow component and a tab bar menu. When you tap on a menu item, it animates the switch between pages in the direction of the new page.

framer-app-base demo

Installation

  1. Download the appBase.coffee file
  2. Create a Framer project and add the file in /modules
  3. At the top of the Framer document write base = require "appBase"

Usage

create a new object appBase with the following arguments

  1. Array of layers for the different pages

  2. the header layers

  3. the tab bar layer. Its children are the tab elements. The tabs are layers initially in their selected state color, the module takes care of graying them out and keeping only the selected tab in color.

    new base.appBase([array of layers], header, menu)

Example

# Require the module
base = require "appBase"

# Create a series of layers that will become the pages
layer1 = new Layer
    backgroundColor: "#ffffff"
    size: Screen.size
text1 = new TextLayer
    text: "Page 1"
    textTransform: "uppercase"
    fontWeight: 700
    parent: layer1
    color: "#000000"
    x: Align.center
    y: Align.center

layer2 = new Layer
    backgroundColor: "#ffffff"
    size: Screen.size
text2 = new TextLayer
    text: "Page 2"
    textTransform: "uppercase"
    fontWeight: 700
    parent: layer2
    color: "#000000"
    x: Align.center
    y: Align.center

layer3 = new Layer
    backgroundColor: "#ffffff"
    size: Screen.size
text3 = new TextLayer
    text: "Page 3"
    textTransform: "uppercase"
    fontWeight: 700
    parent: layer3
    color: "#000000"
    x: Align.center
    y: Align.center

layer4 = new Layer
    backgroundColor: "#ffffff"
    size: Screen.size
text4 = new TextLayer
    text: "Page 4"
    textTransform: "uppercase"
    fontWeight: 700
    parent: layer4
    color: "#000000"
    x: Align.center
    y: Align.center

# Create the header
layerHeader = new Layer
    width: 750
    height: 40
    image: "images/statusbar.png"

# Create the menu
layerMenu = new Layer
    width: 750
    height: 103
    backgroundColor: "#f7f7f7"

# Create the menu elements
for i in [0...4]
    menuEl = new Layer
        parent: layerMenu
        width: 54
        height: 68
        image: "images/menuEL.png"
        y: 24
        x: 66 + 188*i

# Create the app base
new base.appBase([layer1,layer2,layer3,layer4], layerHeader, layerMenu)

License

Framer-app-base is released under the MIT license.

Contact

Twitter: @benjarier

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].