教程

如何在 Figma 中创建框架

学习如何在 Figma 中创建框架,以组织您的 UI 设计和布局。一个适合初学者的指南,帮助您使用框架工具实现更好的结构和响应性。

详细步骤:

1. 选择框架工具:点击工具栏中的 框架 工具图标或按 'F' 键。
2. 选择创建方法:单击并拖动:在画布上单击并拖动以创建具有自定义尺寸的框架。 
预设设备尺寸:从右侧的属性面板中选择预设框架大小。 
框架选择:选择现有元素并将其转换为框架。 
3. 为现有元素创建框架(框架选择):选择所需元素,然后按 Ctrl + Alt + G(Windows)或 ⌘ + Opt + G(Mac)以创建一个包含这些元素的 框架。 
4. 调整框架属性:创建后,您可以在右侧面板中修改框架的属性(大小、颜色等)。 

逐步指南:如何在Figma中创建框架

步骤1

单击“框架”选项以启动框架创建过程。

Click on the "Frames" option to initiate the frame creation process.

步骤2

在选择“框架”选项后,点击Figma模板中您想放置新框架的任何地方。

After selecting the "Frames" option, tap anywhere on the Figma template where you want to place your new frame.

步骤3

一旦您单击,框架将出现在模板上。然后,您可以根据特定需求调整框架的大小和维度。

Once you've clicked, the frame will appear on the template. You can then adjust the size and dimensions of the frame according to your specific requirements.

在Figma中创建框架的专业技巧

  1. 使用框架工具快捷键
    按键盘上的F键以激活框架工具。然后在画布上单击并拖动以绘制框架。这是创建框架的最快和最常用的方法。

  2. 从工具栏创建框架
    单击工具栏左上角的框架工具图标(看起来像一个井号或矩形)。然后从右侧面板中选择预设框架大小(如iPhone、桌面或平板电脑),或在画布上手动绘制一个。

  3. 将现有元素转换为框架
    选择您想要分组的元素,然后右键单击并从上下文菜单中选择“框架选择”。这将所选元素包装在新框架中,方便组织您的设计。

  4. 在框架中使用自动布局
    创建框架后,开启自动布局以使其具有响应性。这在设计需要一致间距和对齐的按钮、卡片或部分时非常有帮助。

  5. 嵌套框架以获得更好的结构
    您可以将一个框架放置在另一个框架内。嵌套框架在组织复杂的UI设计和组件(如模态框、卡片和导航栏)时非常有效。

常见错误及如何避免它们

  1. 将框架与组混淆
    组只会将元素捆绑在一起,但框架可以包含布局规则和约束。需要结构、对齐或响应性时,请使用框架。

  2. 未设置约束
    在设计响应式组件时,忘记在框架内部设置约束可能会导致元素在调整大小时表现出意外行为。始终检查右侧面板中的约束。

  3. 过度使用框架
    使用过多不必要的框架可能会混乱您的图层面板,使编辑困难。战略性地使用框架——仅在需要布局控制时使用。

  4. 错误嵌套
    避免无意中将框架放置在错误的父框架内。这可能会破坏您的布局层次结构。使用图层面板跟踪结构。

  5. 跳过命名
    不命名框架会导致协作混淆。始终清晰命名您的框架(如“导航栏”、“页脚”或“iPhone 14 屏幕”),以保持组织性。

关于在Figma中创建框架的常见问题

  1. 框架和画布之间有什么区别?
    在Figma中,框架就像其他工具中的画布,但具有更多布局和响应特性。框架可以充当带有约束和自动布局的容器。

  2. 我可以在创建框架后调整其大小吗?
    可以。选择框架并拖动其边缘或在右侧属性面板中输入确切尺寸。

  3. 框架可以导出吗?
    可以。框架可以导出为PNG、JPG、SVG或PDF。选择框架并在属性面板中使用导出部分。

  4. 在Figma中是否有预设框架尺寸?
    是的。当您激活框架工具时,您将在右侧看到一份预设列表——如手机屏幕、桌面尺寸、平板电脑和社交媒体尺寸。

  5. 我可以在组件内部创建框架吗?
    当然可以。框架可以作为组件或实例的一部分,允许您有效地结构化和重用设计元素。

  6. 如何在Mac上屏幕录制? 
    在Mac上进行屏幕录制,您可以使用Trupeer人工智能。它允许您捕获整个屏幕并提供AI功能,如添加AI头像、添加配音、在视频中进行缩放。使用trupeer的AI视频翻译功能,您可以将视频翻译成30多种语言。 

  7. 如何在屏幕录制中添加AI头像?
    要在屏幕录制中添加AI头像,您需要使用一个AI屏幕录制工具。 Trupeer AI是一个AI屏幕录制工具,帮助您创建多头像的视频,还可以帮助您为视频创建自己的头像。

  8. 如何在Windows上屏幕录制?
    要在Windows上进行屏幕录制,您可以使用内置的游戏条(Windows + G)或使用像Trupeer AI这样的高级AI工具,获取更多高级功能,如AI头像、配音、翻译等。

  9. 如何为视频添加配音?
    为视频添加配音,请下载trupeer ai Chrome插件。注册后,上传带语音的视频,从trupeer中选择所需的配音并导出编辑后的视频。 

  10. 我如何在屏幕录制中放大?
    在屏幕录制中放大,请使用Trupeer AI中的缩放效果,允许您在特定时刻进行缩放,从而增强视频内容的视觉效果。

详细步骤:

1. 选择框架工具:点击工具栏中的 框架 工具图标或按 'F' 键。
2. 选择创建方法:单击并拖动:在画布上单击并拖动以创建具有自定义尺寸的框架。 
预设设备尺寸:从右侧的属性面板中选择预设框架大小。 
框架选择:选择现有元素并将其转换为框架。 
3. 为现有元素创建框架(框架选择):选择所需元素,然后按 Ctrl + Alt + G(Windows)或 ⌘ + Opt + G(Mac)以创建一个包含这些元素的 框架。 
4. 调整框架属性:创建后,您可以在右侧面板中修改框架的属性(大小、颜色等)。 

逐步指南:如何在Figma中创建框架

步骤1

单击“框架”选项以启动框架创建过程。

Click on the "Frames" option to initiate the frame creation process.

步骤2

在选择“框架”选项后,点击Figma模板中您想放置新框架的任何地方。

After selecting the "Frames" option, tap anywhere on the Figma template where you want to place your new frame.

步骤3

一旦您单击,框架将出现在模板上。然后,您可以根据特定需求调整框架的大小和维度。

Once you've clicked, the frame will appear on the template. You can then adjust the size and dimensions of the frame according to your specific requirements.

在Figma中创建框架的专业技巧

  1. 使用框架工具快捷键
    按键盘上的F键以激活框架工具。然后在画布上单击并拖动以绘制框架。这是创建框架的最快和最常用的方法。

  2. 从工具栏创建框架
    单击工具栏左上角的框架工具图标(看起来像一个井号或矩形)。然后从右侧面板中选择预设框架大小(如iPhone、桌面或平板电脑),或在画布上手动绘制一个。

  3. 将现有元素转换为框架
    选择您想要分组的元素,然后右键单击并从上下文菜单中选择“框架选择”。这将所选元素包装在新框架中,方便组织您的设计。

  4. 在框架中使用自动布局
    创建框架后,开启自动布局以使其具有响应性。这在设计需要一致间距和对齐的按钮、卡片或部分时非常有帮助。

  5. 嵌套框架以获得更好的结构
    您可以将一个框架放置在另一个框架内。嵌套框架在组织复杂的UI设计和组件(如模态框、卡片和导航栏)时非常有效。

常见错误及如何避免它们

  1. 将框架与组混淆
    组只会将元素捆绑在一起,但框架可以包含布局规则和约束。需要结构、对齐或响应性时,请使用框架。

  2. 未设置约束
    在设计响应式组件时,忘记在框架内部设置约束可能会导致元素在调整大小时表现出意外行为。始终检查右侧面板中的约束。

  3. 过度使用框架
    使用过多不必要的框架可能会混乱您的图层面板,使编辑困难。战略性地使用框架——仅在需要布局控制时使用。

  4. 错误嵌套
    避免无意中将框架放置在错误的父框架内。这可能会破坏您的布局层次结构。使用图层面板跟踪结构。

  5. 跳过命名
    不命名框架会导致协作混淆。始终清晰命名您的框架(如“导航栏”、“页脚”或“iPhone 14 屏幕”),以保持组织性。

关于在Figma中创建框架的常见问题

  1. 框架和画布之间有什么区别?
    在Figma中,框架就像其他工具中的画布,但具有更多布局和响应特性。框架可以充当带有约束和自动布局的容器。

  2. 我可以在创建框架后调整其大小吗?
    可以。选择框架并拖动其边缘或在右侧属性面板中输入确切尺寸。

  3. 框架可以导出吗?
    可以。框架可以导出为PNG、JPG、SVG或PDF。选择框架并在属性面板中使用导出部分。

  4. 在Figma中是否有预设框架尺寸?
    是的。当您激活框架工具时,您将在右侧看到一份预设列表——如手机屏幕、桌面尺寸、平板电脑和社交媒体尺寸。

  5. 我可以在组件内部创建框架吗?
    当然可以。框架可以作为组件或实例的一部分,允许您有效地结构化和重用设计元素。

  6. 如何在Mac上屏幕录制? 
    在Mac上进行屏幕录制,您可以使用Trupeer人工智能。它允许您捕获整个屏幕并提供AI功能,如添加AI头像、添加配音、在视频中进行缩放。使用trupeer的AI视频翻译功能,您可以将视频翻译成30多种语言。 

  7. 如何在屏幕录制中添加AI头像?
    要在屏幕录制中添加AI头像,您需要使用一个AI屏幕录制工具。 Trupeer AI是一个AI屏幕录制工具,帮助您创建多头像的视频,还可以帮助您为视频创建自己的头像。

  8. 如何在Windows上屏幕录制?
    要在Windows上进行屏幕录制,您可以使用内置的游戏条(Windows + G)或使用像Trupeer AI这样的高级AI工具,获取更多高级功能,如AI头像、配音、翻译等。

  9. 如何为视频添加配音?
    为视频添加配音,请下载trupeer ai Chrome插件。注册后,上传带语音的视频,从trupeer中选择所需的配音并导出编辑后的视频。 

  10. 我如何在屏幕录制中放大?
    在屏幕录制中放大,请使用Trupeer AI中的缩放效果,允许您在特定时刻进行缩放,从而增强视频内容的视觉效果。

Start creating videos with our AI Video + Doc generator

Start creating videos with our AI Video + Doc generator

Start creating videos with our AI Video + Doc generator

Detailed Steps:

1. Select the Frame tool: Click on the Frame tool icon in the toolbar or press the 'F' key.
2. Choose a creation method: Click and drag: Click and drag on the canvas to create a frame with custom dimensions. 
Preset device size: Select a pre-set frame size from the properties panel on the right. 
Frame selection: Select existing elements and convert them into a frame. 
3. Create a frame around existing elements (Frame selection): Select the desired elements, then press Ctrl + Alt + G (Win) or ⌘ + Opt + G (Mac) to create a frame containing those elements. 
4. Adjust frame properties: Once created, you can modify the frame's properties (size, color, etc.) in the right-hand panel. 

Step-by-Step Guide: How to Create a Frame in Figma

Step 1

Click on the "Frames" option to initiate the frame creation process.

Click on the "Frames" option to initiate the frame creation process.

Step 2

After selecting the "Frames" option, tap anywhere on the Figma template where you want to place your new frame.

After selecting the "Frames" option, tap anywhere on the Figma template where you want to place your new frame.

Step 3

Once you've clicked, the frame will appear on the template. You can then adjust the size and dimensions of the frame according to your specific requirements.

Once you've clicked, the frame will appear on the template. You can then adjust the size and dimensions of the frame according to your specific requirements.

Detailed Steps:

1. Select the Frame tool: Click on the Frame tool icon in the toolbar or press the 'F' key.
2. Choose a creation method: Click and drag: Click and drag on the canvas to create a frame with custom dimensions. 
Preset device size: Select a pre-set frame size from the properties panel on the right. 
Frame selection: Select existing elements and convert them into a frame. 
3. Create a frame around existing elements (Frame selection): Select the desired elements, then press Ctrl + Alt + G (Win) or ⌘ + Opt + G (Mac) to create a frame containing those elements. 
4. Adjust frame properties: Once created, you can modify the frame's properties (size, color, etc.) in the right-hand panel. 

Step-by-Step Guide: How to Create a Frame in Figma

Step 1

Click on the "Frames" option to initiate the frame creation process.

Click on the "Frames" option to initiate the frame creation process.

Step 2

After selecting the "Frames" option, tap anywhere on the Figma template where you want to place your new frame.

After selecting the "Frames" option, tap anywhere on the Figma template where you want to place your new frame.

Step 3

Once you've clicked, the frame will appear on the template. You can then adjust the size and dimensions of the frame according to your specific requirements.

Once you've clicked, the frame will appear on the template. You can then adjust the size and dimensions of the frame according to your specific requirements.

Start creating videos with our AI Video + Doc generator for free

Start creating videos with our AI Video + Doc generator for free

Start creating videos with our AI Video + Doc generator for free

Pro Tips for Creating Frames in Figma

  1. Use the Frame Tool Shortcut
    Press F on your keyboard to activate the Frame tool. Then click and drag on the canvas to draw a frame. This is the fastest and most commonly used method to create frames.

  2. Create a Frame from the Toolbar
    Click the Frame tool icon from the top-left corner of the toolbar (it looks like a hashtag or rectangle). Then select a preset frame size (like iPhone, Desktop, or Tablet) from the right panel or draw one manually on the canvas.

  3. Convert Existing Elements into a Frame
    Select the elements you want to group, then right-click and choose “Frame selection” from the context menu. This wraps the selected elements in a new frame, useful for organizing your design.

  4. Use Auto Layout in Frames
    After creating a frame, turn on Auto Layout to make it responsive. This helps when designing buttons, cards, or sections that need consistent spacing and alignment.

  5. Nest Frames for Better Structure
    You can place one frame inside another. Nested frames are great for organizing complex UI designs and components like modals, cards, and navigation bars.

Common Pitfalls and How to Avoid Them

  1. Confusing Frames with Groups
    Groups only bundle elements together, but frames can contain layout rules and constraints. Use frames when you need structure, alignment, or responsiveness.

  2. Not Setting Constraints
    When designing responsive components, forgetting to set constraints inside a frame can cause elements to behave unexpectedly when resizing. Always check the constraints in the right panel.

  3. Overusing Frames
    Using too many unnecessary frames can clutter your layer panel and make editing difficult. Use frames strategically—only when layout control is needed.

  4. Incorrect Nesting
    Avoid accidentally placing frames inside the wrong parent frames. It can break your layout hierarchy. Use the layer panel to keep track of structure.

  5. Skipping Naming
    Not naming your frames makes collaboration confusing. Always name your frames clearly (like “Navbar”, “Footer”, or “iPhone 14 Screen”) to keep things organized.

Pro Tips for Creating Frames in Figma

  1. Use the Frame Tool Shortcut
    Press F on your keyboard to activate the Frame tool. Then click and drag on the canvas to draw a frame. This is the fastest and most commonly used method to create frames.

  2. Create a Frame from the Toolbar
    Click the Frame tool icon from the top-left corner of the toolbar (it looks like a hashtag or rectangle). Then select a preset frame size (like iPhone, Desktop, or Tablet) from the right panel or draw one manually on the canvas.

  3. Convert Existing Elements into a Frame
    Select the elements you want to group, then right-click and choose “Frame selection” from the context menu. This wraps the selected elements in a new frame, useful for organizing your design.

  4. Use Auto Layout in Frames
    After creating a frame, turn on Auto Layout to make it responsive. This helps when designing buttons, cards, or sections that need consistent spacing and alignment.

  5. Nest Frames for Better Structure
    You can place one frame inside another. Nested frames are great for organizing complex UI designs and components like modals, cards, and navigation bars.

Common Pitfalls and How to Avoid Them

  1. Confusing Frames with Groups
    Groups only bundle elements together, but frames can contain layout rules and constraints. Use frames when you need structure, alignment, or responsiveness.

  2. Not Setting Constraints
    When designing responsive components, forgetting to set constraints inside a frame can cause elements to behave unexpectedly when resizing. Always check the constraints in the right panel.

  3. Overusing Frames
    Using too many unnecessary frames can clutter your layer panel and make editing difficult. Use frames strategically—only when layout control is needed.

  4. Incorrect Nesting
    Avoid accidentally placing frames inside the wrong parent frames. It can break your layout hierarchy. Use the layer panel to keep track of structure.

  5. Skipping Naming
    Not naming your frames makes collaboration confusing. Always name your frames clearly (like “Navbar”, “Footer”, or “iPhone 14 Screen”) to keep things organized.

Common FAQs About Creating Frames in Figma

  1. What is the difference between a frame and an artboard?
    In Figma, a frame functions like an artboard in other tools, but with more layout and responsive features. Frames can act as containers with constraints and Auto Layout.

  2. Can I resize a frame after creating it?
    Yes. Select the frame and drag its edges or enter exact dimensions in the right-hand properties panel.

  3. Can frames be exported?
    Yes. Frames can be exported as PNG, JPG, SVG, or PDF. Select the frame and use the export section in the properties panel.

  4. Are there preset frame sizes in Figma?
    Yes. When you activate the Frame tool, you’ll see a list of presets on the right—such as phone screens, desktop sizes, tablets, and social media dimensions.

  5. Can I create frames inside components?
    Absolutely. Frames can be part of components or instances, allowing you to structure and reuse design elements efficiently.

  6. How to screen record on mac? 
    To screen record on a Mac, you can use Trupeer AI. It allows you to capture the entire screen and provides AI capabilities such as adding AI avatars, add voiceover, add zoom in and out in the video. With trupeer’s AI video translation feature, you can translate the video into 30+ languages. 

  7. How to add an AI avatar to screen recording?
    To add an AI avatar to a screen recording, you'll need to use an AI screen recording tool. Trupeer AI is an AI screen recording tool, which helps you create videos with multiple avatars, also helps you in creating your own avatar for the video.

  8. How to screen record on windows?
    To screen record on Windows, you can use the built-in Game Bar (Windows + G) or advanced AI tool like Trupeer AI for more advanced features such as AI avatars, voiceover, translation etc.

  9. How to add voiceover to video?
    To add voiceover to videos, download trupeer ai chrome extension. Once signed up, upload your video with voice, choose the desired voiceover from trupeer and export your edited video. 

  10. How do I Zoom in on a screen recording?
    To zoom in during a screen recording, use the zoom effects in Trupeer AI which allows you to zoom in and out at specific moments, enhancing the visual impact of your video content.

People also ask

How to Hide Frame Names in Figma

How To Save Figma File

How To Make a Grid in Figma

How to Make a Grid in Figma

How To Blur Background in Figma

Common FAQs About Creating Frames in Figma

  1. What is the difference between a frame and an artboard?
    In Figma, a frame functions like an artboard in other tools, but with more layout and responsive features. Frames can act as containers with constraints and Auto Layout.

  2. Can I resize a frame after creating it?
    Yes. Select the frame and drag its edges or enter exact dimensions in the right-hand properties panel.

  3. Can frames be exported?
    Yes. Frames can be exported as PNG, JPG, SVG, or PDF. Select the frame and use the export section in the properties panel.

  4. Are there preset frame sizes in Figma?
    Yes. When you activate the Frame tool, you’ll see a list of presets on the right—such as phone screens, desktop sizes, tablets, and social media dimensions.

  5. Can I create frames inside components?
    Absolutely. Frames can be part of components or instances, allowing you to structure and reuse design elements efficiently.

  6. How to screen record on mac? 
    To screen record on a Mac, you can use Trupeer AI. It allows you to capture the entire screen and provides AI capabilities such as adding AI avatars, add voiceover, add zoom in and out in the video. With trupeer’s AI video translation feature, you can translate the video into 30+ languages. 

  7. How to add an AI avatar to screen recording?
    To add an AI avatar to a screen recording, you'll need to use an AI screen recording tool. Trupeer AI is an AI screen recording tool, which helps you create videos with multiple avatars, also helps you in creating your own avatar for the video.

  8. How to screen record on windows?
    To screen record on Windows, you can use the built-in Game Bar (Windows + G) or advanced AI tool like Trupeer AI for more advanced features such as AI avatars, voiceover, translation etc.

  9. How to add voiceover to video?
    To add voiceover to videos, download trupeer ai chrome extension. Once signed up, upload your video with voice, choose the desired voiceover from trupeer and export your edited video. 

  10. How do I Zoom in on a screen recording?
    To zoom in during a screen recording, use the zoom effects in Trupeer AI which allows you to zoom in and out at specific moments, enhancing the visual impact of your video content.

People also ask

How to Hide Frame Names in Figma

How To Save Figma File

How To Make a Grid in Figma

How to Make a Grid in Figma

How To Blur Background in Figma

Start creating videos with our AI Video + Doc generator

Start creating videos with our AI Video + Doc generator

Start creating videos with our AI Video + Doc generator

Start creating videos with our AI Video + Doc generator

Instant AI Product Videos & Docs from Rough Screen Recordings

Experience the new & faster way of creating product videos.

Instant AI Product Videos and Docs from Rough Screen Recordings.

Experience the new & faster way of creating product videos.

Instant AI Product Videos and Docs from Rough Screen Recordings.

Experience the new & faster way of creating product videos.

Instant AI Product Videos and Docs from Rough Screen Recordings.