π¨Custom Classes & Attributes
Custom classes, IDs, and data attributes allow you to target elements with custom code, animation libraries, and external scripts.
When to Use What
Feature
Purpose
Output in HTML
Adding Custom Classes
Use Cases for Custom Classes
Adding Custom IDs
Use Cases for Custom IDs
Adding Data Attributes
Use Cases for Data Attributes
Tokens vs Classes: Technical Details
Example: Integrating with GSAP
Example: Scroll Spy Navigation
Related
Last updated
Was this helpful?
