Studio Material UI library
Studio Material is the recommended default within the Formly Studio demo for Material-based forms. It is
not currently published as a standalone public package. It includes the standard Material field
set and adds Formly Studio types for richer layouts, content, and common application controls. Standard controls use
@ngx-formly/material. Studio-specific types require the
matching Studio Material configuration in the consuming application.
Form controls
Section titled “Form controls”Studio Material includes all Material form controls, with the same type names and properties.
Button Group
Section titled “Button Group”- Formly
type:button-group - Use it for: A group of selectable buttons.
- Properties:
Key,Default Value,Label,Description,Options,Hide,Expressions. - Each option has a
Label,Value, andDisabledsetting. - Validation:
RequiredandShow Validation.
Postal Code
Section titled “Postal Code”- Formly
type:postal-code - Use it for: A formatted postal or ZIP code.
- Properties:
Key,Default Value,Label,Placeholder,Description,Mask,Input Mode,Auto-capitalize,Store Raw Value,Autocomplete Context,Hide,Expressions. - Validation:
Required,Show Validation, andPostal Code Pattern. - Built-in presets:
US ZIP CodeandCanada Postal Code.
Display and content
Section titled “Display and content”Markdown
Section titled “Markdown”- Formly
type:markdown - Use it for: Markdown content displayed inside a form.
- Properties:
Text,Hide, andExpressions.
Divider
Section titled “Divider”- Formly
type:divider - Use it for: A visual divider between sections.
- Properties:
Vertical,Inset,Hide, andExpressions.
Containers
Section titled “Containers”Studio Material includes the standard Material Group plus these containers.
- Formly
type:card - Use it for: A titled section containing related fields.
- Properties:
Key,Card Title,Card Subtitle,Hide, andExpressions. - Wrapper properties:
Card TitleandCard Subtitle.
Repeater
Section titled “Repeater”- Formly
type:repeating-section - Use it for: A repeated child field configuration such as multiple addresses.
- Properties:
Key,Add Button Text,Hide, andExpressions. - Wrapper properties:
Card TitleandCard Subtitle.
- Formly
type:tab - Use it for: One tab within a Tabs container.
- Properties:
Key,Label,Disabled,Hide, andExpressions.
- Formly
type:tabs - Use it for: A tabbed group of fields.
- Properties:
Key,Dynamic Height,Header Position,Tab Alignment,Disable Stretch Tabs,Fit Ink Bar to Content,Preserve Content,Hide, andExpressions.
- Formly
type:step - Use it for: One step within a Stepper container.
- Properties:
Key,Label,Optional,Disable Edit,Previous Button Label,Next Button Label,Hide, andExpressions.
Stepper
Section titled “Stepper”- Formly
type:stepper - Use it for: A multi-step form flow.
- Properties:
Key,Linear,Orientation,Accessible Label,Hide, andExpressions.
- Formly
type:formly-group - Use it for: A section that contains related fields.
- Properties:
Key,Hide, andExpressions. - Wrapper properties:
Card TitleandCard Subtitle.
See Add and configure fields for fields and presets, and Structure fields for containers.