GithubHelp home page GithubHelp logo

breadcrumb's Introduction

đŸ“ĸ Use this project, contribute to it or open issues to help evolve it using Store Discussion.

All Contributors

Breadcrumb

The VTEX BreadCrumb is a navigation scheme that shows a user's browsing history up to their current location in your store.

img2-breadcrumb

Configuration

  1. Import the breadcrumb's app to your theme's dependencies in the manifest.json, for example:
  dependencies: {
    "vtex.breadcrumb": "1.x"
  }
  1. Add the breadcrumb block to the Product template. For example:
 "breadcrumb": {
    "props": {
      "showOnMobile": true
    }
  },
Prop name Type Description Default value
showOnMobile Boolean It determines whether Breadcrumb should also be displayed on mobile false
homeIconSize Number Controls the size property of IconHome 26
caretIconSize Number Controls the size property of IconCaret 8

⚠ī¸ The product's categories should appear as an array in one of this two formats:

categories = ['/Eletronics/', '/Eletronics/Computers']
categories = ['eletronics', 'eletronics-computers']
  1. Add the breadcrumb.search block to the Search template. For example:
 "breadcrumb.search": {
    "props": {
      "showOnMobile": true
    }
  },
Prop name Type Description Default value
showOnMobile Boolean It determines whether Breadcrumb should also be displayed on mobile false
homeIconSize Number Controls the size property of IconHome 26
caretIconSize Number Controls the size property of IconCaret 8

ℹī¸ The breadcrumb.search block is specific for the Breadcrumb inside the search result page.

Customization

In order to apply CSS customizations in this and other blocks, follow the instructions given in the recipe on Using CSS Handles for store customization.

CSS Handles
container
link
arrow
homeLink
termArrow

Contributors ✨

Thanks goes to these wonderful people:

This project follows the all-contributors specification. Contributions of any kind welcome!

breadcrumb's People

Contributors

augustolazaro avatar brunoabreu avatar claudivanfilho avatar denisebiscaro avatar dependabot[bot] avatar eduardopatrick avatar estacioneto avatar guerreirobeatriz avatar gugabribeiro avatar guifromrio avatar hiagolcm avatar iaronaraujo avatar jgfidelis avatar juanalmeida12 avatar kaisermann avatar karenkrieger avatar klynger avatar klzns avatar koz avatar lbebber avatar lucasecdb avatar matheusps avatar rerissondaniel avatar salesfelipe avatar thalytafabrine avatar theomoura avatar tlgimenes avatar victorhmp avatar vitoria avatar vtex-io-ci-cd[bot] avatar

Watchers

 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.