Skip to content

SKindij/React-UI-Styling-Playbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-UI-Styling-Playbook

Guidance for styling UI elements using React Bootstrap, and Material UI

🌟 React-Bootstrap 🌟

  • provides user interface elements for web and mobile applications;

  • serves as a complete upgrade for React in general;

    • npm install react-bootstrap bootstrap
    • npm install sass
  • with its components, it works without dependencies on bootstrap.js or jQuery;

  • instead of importing whole library, you can simply import individual components:

    •    import { Button } from 'react-bootstrap';
  • has an extensive list of components, each with full control over its behavior;


🌟 Material UI 🌟

  • used in Google's Material Design;
  • is well-known for its faster and easier web development;
  • you can quickly create your own design system or start with Material Design;
    • npm install @mui/material @emotion/react @emotion/styled
  • includes set of interesting, ready-to-use components that can be integrated into any application;
  • also offers a range of tools and APIs to enhance application development;

Lighthouse features

React Helmet

This reusable React component will manage all of your changes to the document head. Helmet takes plain HTML tags and outputs plain HTML tags. It's dead simple, and React beginner friendly.

  • Supports all valid head tags: title, base, meta, link, script, noscript, and style tags.
  • upports attributes for body, html and title tags.
    • Supports server-side rendering.

Robots Exclusion Protocol

You can put a robots.txt file in the directory dedicated to your domain.

 # To allow all robots complete access
 User-agent: *
 Disallow:

WAVE

Web Accessibility Evaluation Tools

WAVE® is a suite of evaluation tools that helps authors make their web content more accessible to individuals with disabilities. WAVE can identify many accessibility and Web Content Accessibility Guideline (WCAG) errors, but also facilitates human evaluation of web content. Our philosophy is to focus on issues that we know impact end users, facilitate human evaluation, and to educate about web accessibility.

Setting up Tailwind CSS in a Next.js project.

  1. Create your project
  npx create-next-app@latest price-pulse --typescript --eslint
  cd price-pulse
  1. Start your build process
  npm run dev

The official Tailwind CSS IntelliSense extension for Visual Studio Code enhances the Tailwind development experience by providing users with advanced features such as autocomplete, syntax highlighting, and linting.

W3C

Markup Validation Service This validator checks the markup validity of Web documents in HTML, XHTML, SMIL, MathML, etc. If you wish to validate specific content such as RSS/Atom feeds or CSS stylesheets, MobileOK content, or to find broken links, there are other validators and tools available. As an alternative you can also try our non-DTD-based validator.

About

Guidance for styling UI elements using SCSS, React Bootstrap, and Material UI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages