Highlight
The Highlight component is designed to visually emphasize parts of text that match user input, typically during interactions with search fields or filter options. Its primary function is to help users quickly identify relevant information in response to their queries, enhancing overall usability and efficiency.
- Storybook (opens in a new tab)
- Figma library (opens in a new tab)
- Figma spec (opens in a new tab)
npm install @sbks/ds-elements
Design assets
Use these links to open the component in Figma. The design library is where the component comes from, and the design specification gives detailed guidance on layout, behavior and usage. Use them to keep your designs consistent and accurate.
Design asset (opens in a new tab)The component in the Soul Figma library.Design specification (opens in a new tab)The detailed specification of the component in Figma.
Dev assets
Open the component in Storybook, where you'll find a developer preview, documentation and the complete setup. Use it to build a consistent and robust implementation.