bootstrap: Hello World Figma plugin skeleton
This commit is contained in:
commit
567ce34285
8 files changed
+3498
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import { showUI } from '@create-figma-plugin/utilities'
|
||||
|
||||
export default function () {
|
||||
showUI({ width: 320, height: 200, themeColors: true })
|
||||
}
|
||||
+14
@@ -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)
|
||||
Reference in new issue
Block a user