question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Form Design Proposal [feature]

See original GitHub issue

Form Design Proposal

Visual Design

800px by 600px view:

with-buttons

JSX Design

<Frame>
  <Form>
    <FormTitle>FORM</FormTitle>

    <FormGroup>
        <Label>PLANET</Label>
        <TextInput />
    </FormGroup>

    <FormGroup>
        <Label>SYSTEM</Label>
        <TextInput />
    </FormGroup>

    <FormGroup>
        <Label>GALAXY</Label>
        <TextInput />
    </FormGroup>

    <FormGroup>
        <Label>DIMENSION</Label>
        <TextInput />
    </FormGroup>

    <FormButtons>
      <Button onClick={ [some submit code here] }>
        Submit 
      </Button> 
      <Button onClick={ [some redirect to previous route code here]}>
        Cancel
      </Button>
    </FormButtons>
  </Form>
</Frame>

Component style overview

  • <FormTitle> is basically a Header but centered
  • <FormGroup> is parent of Labels + Inputs, so Label + Inputs fall inline-block
  • <Label> has the styles of the Intergalactic Link, highlighted when its sibling <TextInput/> is active
  • <Label> also ends with a : by default, and all Labels are justifed to the right, with all : (colons) aligned
  • When active, <TextInput/> has the blinking text entry light from the <Words animate show={anim.entered}> animation
  • <FormButtons> contains inline-block submit/cancel/etc <Button>s, is a centered div at end of form

Pixel Grid View

screen shot 2018-06-05 at 3 37 10 pm

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:13
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

4reactions
romelperezcommented, Apr 26, 2019

Hi @njwest ! That proposal looks perfect! The plan is to start working on Arwes core components by the fourth quarter of 2019. Soon I’ll start planning tasks so we can keep track of these proposals. Thank you for your contribution!!!

4reactions
romelperezcommented, Jun 6, 2018

It looks pretty good!

Here are some thoughs on the plan to work on them.

First, we need to define how the input elements should work. My idea is to start with the most basic form components: <input type="text|email|url|number|search|...">, <input type="checkbox">, and <select>. Here some inspiration:

Inputs and selects: https://robertsspaceindustries.com/enlist For checkboxes: https://codepen.io/aaronchuo/pen/adErn

These components should work with the control color palette, as the <Button> works. The idea is mark them as interactive elements in the application. The animation for the input text you suggest can be tricky to make, but we can research about it 😃 We can play with the animation for the select and the checkboxes to see what is best for them.

It would be awesome to define what kind of sounds to play when the user interacts with the elements. We need to research about this too. The idea is to follow the rhythms or “style” from the current sounds.

Second, we would need to define how the form structure components should work: <FormTitle>, <FormGroup>, <Label>, and <FormButtons>. Since these are more about layout, I think they should be straightforward.

I feel more inclined to have the labels in a different line than the inputs, but we can make components to define the kind of structure we want.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Write a Design Proposal: The Ultimate Guide
How to Write a Design Proposal: The Ultimate Guide · Step 1: Talk to Your Prospective Client to Find Out What They Want...
Read more >
29 Sample Proposal Templates and Design Tips - Visme
Looking to create a proposal to start selling your products or services? ... you can customize your line design, shape, color and more....
Read more >
How To Write A Design Proposal + FREE Template
A comprehensive guide to writing effective proposals that help you win more clients as a designer and charge more for you design work.‍...
Read more >
How to create a winning design proposal with user research
A solid proposal acts as a source of truth for you and your client. Here's how user research can make your next design...
Read more >
Video: Use this formula to write winning project proposals
Typically, the first section in any proposal is an overview. The overview usually reinforces back to the client that you understand what their ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found