Git Product home page Git Product logo

react-button's Introduction

Button component

assets/Screenshot_2020-10-08_at_11.22.44.png

React Challenge: Create a reusable button with all the states in the design and a page displaying all the states.

Fulfill user stories below:

  • User story: I can see different button types: defaultoutline and text
  • User story: I can choose to disable box-shadow
  • User story: I can choose to disable button
  • User story: I can choose to have an icon on the left or right (Use Google Icon and at least 5 variants)
  • User story:: I can have different button sizes
  • User story: I can have different colors
  • User story: When I hover or focus, I can see visual indicators
  • User story: I can still access all button attributes
  • User story (optional): Show button in a similar way like the design or use Storybook. Otherwise, showing the button in multiple states is enough

Icon: https://google.github.io/material-design-icons/

Figma file: Link

As long as you fulfill all the user stories, you can give your personal touches by adding transition, using your own images, changing colors, or even creating your own layout,...

Once you completed, update the README_template.md and paste URLs for both GitHub repository and live app on Netlify and explain briefly what you have done.

Don’t look at the existing solution onlines.

How to deploy your solution to Netlify

Netlify supports GitHub, GitLab, and Bitbucket, it will redeploy the site just by pushing the code without manually rebuild.

Step 1. Login to Netlify and select New site from git

Step 2. Choose your repository and configure settings with options:

  • Branch to deploy, default master
  • Build Command, default npm run build
  • Publish directory, default public, but it is usually public, dist, build,...

Step 3. Select Deploy site

Good luck!

react-button's People

Contributors

starjardin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.