@nl-design-system-candidate/mark-react
v1.1.7
Published
React implementation of the NL Design System Mark component
Readme
Mark React
Highlights text so you can refer to it from another context or because the text is relevant to the current activity.
Installation
Using npm
npm install @nl-design-system-candidate/mark-reactUsing pnpm
pnpm add @nl-design-system-candidate/mark-reactUsing yarn
yarn add @nl-design-system-candidate/mark-reactUsage
If you want the React component with styles
import { Mark } from '@nl-design-system-candidate/mark-react/css';
<Mark>Highlighted search result</Mark>;If you just want the React component and import the styles separately
import { Mark } from '@nl-design-system-candidate/mark-react';
<Mark>Highlighted search result</Mark>;Design Tokens
All NL Design System components are white label. Use Mark design tokens to ensure it matches your brand styles. See nldesignsystem.nl/mark/#design-tokens for a full overview.
These tokens are also documented in @nl-design-system-candidate/mark-tokens.
Other implementations
Want to use the Mark with other frameworks or vanilla JavaScript? The React component is based on @nl-design-system-candidate/mark-css.
Figma, Storybook and more
Read more about the Mark in Dutch and find links to other resources like Figma and Storybook on https://nldesignsystem.nl/mark.
