bootstrap: Hello World Figma plugin skeleton

This commit is contained in:
Hermes Agent committed 2026-09-09 11:27:11 +02:00
commit 567ce34285
8 files changed
+3498

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
import { showUI } from '@create-figma-plugin/utilities'
export default function () {
showUI({ width: 320, height: 200, themeColors: true })
}
+14
View File
@@ -0,0 +1,14 @@
import { render, Container, Text, Muted, VerticalSpace } from '@create-figma-plugin/ui'
import { h } from 'preact'
function Plugin () {
return (
<Container space="medium" style={{ height: '100%', display: 'flex', alignItems: 'center', justifyContent: 'center', flexDirection: 'column' }}>
<Text style={{ fontSize: '13px', fontWeight: 600 }}>Hello, Figma ✦</Text>
<VerticalSpace space="small" />
<Muted>AI assistant (MVP) — bootstrap</Muted>
</Container>
)
}
export default render(Plugin)