How thomas-lowry/figma-plugin-ds works
Project Type and Purpose
This is a UI component library specifically designed for creating Figma plugins. It's a lightweight, framework-agnostic library that provides CSS and JavaScript components matching Figma's native UI elements.
Main Components
Core Structure:
• Figma Plugin DS Library |
• Styles (CSS) | | Components | | JavaScript |
• Base Styles | | UI Components | | Interactive |
• Variables | | - Buttons | | Components |
• Utilities | | - Inputs | | - Select Menu |
• Typography | +------------------+
Key Elements to Highlight
Distribution Formats:
• Distribution |
• IIFE | | Modules |
Component Architecture:
• UI Component |
• HTML | | CSS |
Template BEM Naming
Structure Convention
Important Relationships
• How styles and JavaScript modules can be imported independently
• Relationship between components and their JavaScript controllers
• Demonstrate the build process flow from source to distribution
Implementation Details
• Version/build information
Remember to include:
• Build/distribution paths
• Component dependencies
• Integration methods
• Clear separation between static and interactive components
• Relationship to Figma's plugin architecture
This system design should help developers understand both the library's architecture and how to effectively implement it in their Figma plugins.