Dev Design Library

Highlighted Text

Text with sliding background highlight animation using mix-blend-mode.

Highlighted Text preview
Library
Spell UI
Framework
React
Type
component
License
MIT
Dependencies
motion
Install
npx shadcn@latest add "https://spell.sh/docs/highlighted-text.md"
Files
  • registry/spell-ui/highlighted-text.tsx
  • lib/utils.ts
  • lib/config.ts
Source
https://github.com/xxtomm/spell-ui

Categories

More from Spell UI