Jump to main content

Chips


Our chip component is to be used to display small actionable pieces of information.

Import

To import just this component into your project, copy the snippet below and include it in your main Sass file.

// import Vanilla and include base mixins
// this only needs to happen once in a given project
@import 'vanilla-framework/scss/vanilla';
@include vf-base;

@include vf-p-chip;

For more information see Customising Vanilla in your projects, which includes overrides and importing instructions.

React

You can use chips in React by installing our react-component library and importing Chip component.

See the documentation for our React Chip component