On this page
Quick steps
Set up the text
Create a text layer and set the font, size, weight, line height and letter spacing you want the style to hold.
Open the style picker
With the layer selected, click the styles button next to the Typography section in the right sidebar.
Create the style
Choose to create a new style, type a name such as Heading/H1, add a description if you like, and click Create style.
Repeat for your type scale
Make a style for each level: headings, body, captions, labels. Slash names group them into folders automatically.
Create color styles
Select a layer with the color you want, click the styles button next to the Fill section, and create a color style the same way.
Publish to share
Open the Assets tab, click the Libraries icon, click Publish next to the file name, add a description of the changes and publish.
What each style type stores
- Color styles: reusable fills for brand and UI colors, applied to fills and strokes.
- Text styles: font family, weight, size, line height and letter spacing saved together.
- Effect styles: drop and inner shadows, layer and background blur, texture and noise.
- Layout guide styles: a set of layout grids, columns or rows you can reuse across frames.
For typography, build the scale before you style anything else. A handful of text styles (display, headings, body, small, label) covers most interfaces, and you can add weights as separate styles, like Body/Regular and Body/Bold, when you need them.
How to create a Figma color library
A color library is a file whose job is to hold and publish your color styles (and often variables). Create a color style for each brand and UI color, name them with slashes such as Brand/Primary and Neutral/100, then publish the file from the Assets tab. Other files add it from the Libraries icon. Publishing needs a paid or Education plan and a file outside your drafts.
How to organise styles into groups
Use slash naming, like Heading/H1 and Heading/H2, or select several styles, right-click and choose Add new folder. When you move styles into a folder, Figma renames them to match the new hierarchy.
How to change a style in your Figma library
Open the file where the style lives. In the right sidebar, hover over the style and click the adjust icon, or right-click it in the style picker and choose Edit style. You can change its properties, name and description. Every layer using the style updates in that file. Other files get the change after you publish the library again and they accept the update.
How to delete a color from your Figma library
In the library file, select one or more styles (Shift-click or ⌘/Ctrl-click), right-click and choose Delete style. Layers using it keep their properties but are detached from the style, so nothing changes visually. Publish the library so other files pick up the removal.
Figma text styles not showing
Figma's help center gives two reasons styles don't appear in another file. Check them in this order:
- The styles aren't published yet. Styles you create only live in their own file until you publish. After edits, publish again.
- The library isn't enabled in this file. Open Assets → Libraries icon and add the library. You need at least view access to it.
- You're in a draft on Starter. Drafts can enable libraries through account settings (Library → "Enable Libraries for all files in your Drafts"), and on Starter that covers styles only.
Styles published but still missing in the picker usually point at a library problem. The broader fixes are in Figma library not showing.
Styles vs variables: which should you use?
A style bundles several values, such as a whole text style, and can't reference another style. A variable holds one value, can reference other variables, and can have a different value per mode, such as Light and Dark. Variables can also be used inside styles, so the two work together.
- Use text styles for typography, since a type style is several values at once.
- Use effect and layout guide styles for shadows and grids.
- Use color variables when you need themes or modes; see how to create variables in Figma and variable modes for dark mode.
- Keep color styles if your team doesn't need modes, or wrap a color variable in a color style so both approaches point at one source.
Frequently asked questions
How do I create a text style in Figma?
Select a text layer, click the styles button next to Typography in the right sidebar, and create a new style with a name and optional description. It then appears in the style picker for every text layer in the file.
Can I create styles on the free plan?
Yes. Any plan can create styles in a file. Publishing them as a library for other files needs an Education, Professional, Organization or Enterprise plan.
What happens to layers when I delete a style?
They keep their current properties and are detached from the style. Nothing changes visually, but future edits to the style no longer reach them.
Why are my Figma styles not showing in another file?
Either the styles haven't been published yet, or the library isn't enabled in the file you're working in. Publish from the source file, then add the library from Assets → Libraries.
Should I use styles or variables for colors?
Use variables when you need modes like Light and Dark or want tokens to reference each other. Styles are fine for simple palettes, and a style can use a variable inside it.
More in Variables & styles
- How to Export Figma Variables to JSON (and CSS, Tailwind or CSV)Export Figma variables to JSON natively, convert them to CSS or Tailwind with Style Dictionary, and move variables between files with Variable Master.
- Figma Variables Not Showing? Here's Why and How to Fix ItFigma variables now open from the Variables tab in the left nav. If one won't appear in a picker, check its type, scoping and library. Mode switch fixes too.
- How to Toggle a Boolean Variable to Show and Hide Layers in FigmaBind a boolean variable to layer visibility, then toggle it on click with Set variable and a not expression. Plus why boolean variables stop working in Figma.
- How to Change Variable Modes in Figma and Build Dark ModeSet up Light and Dark modes in one Figma color collection, switch a frame or page with Apply variable mode, and fix modes that won't change in prototypes.
- How to Create Variables in FigmaCreate Figma variables from the Variables tab, pick the right type, group and duplicate them, delete the ones you don't need and clear leftover used variables.
- How to Make Design Specs in FigmaWhat a Figma design spec should include, how to build a component spec template by hand, what Dev Mode already covers, and how to generate specs with Autospec.
- How to Generate All Component Variants in FigmaFigma shows only the variants you draw. Here's how to lay out every combination of variant, boolean and nested props as a matrix, by hand or with Instancer.
- How to Make a Skeleton Loader in FigmaHow to design a skeleton loader in Figma: grey blocks with auto layout, a component with variants, a Smart Animate shimmer, and a plugin that converts frames.
- Why Are My Fonts Not Showing in Figma?Local fonts missing in Figma? Check the font installer and Chrome's Local network access permission, restart FigmaAgent, then replace missing fonts in the file.
