Skip to content

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.

Studio Material includes all Material form controls, with the same type names and properties.

  • 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, and Disabled setting.
  • Validation: Required and Show Validation.
  • 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, and Postal Code Pattern.
  • Built-in presets: US ZIP Code and Canada Postal Code.
  • Formly type: markdown
  • Use it for: Markdown content displayed inside a form.
  • Properties: Text, Hide, and Expressions.
  • Formly type: divider
  • Use it for: A visual divider between sections.
  • Properties: Vertical, Inset, Hide, and Expressions.

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, and Expressions.
  • Wrapper properties: Card Title and Card Subtitle.
  • Formly type: repeating-section
  • Use it for: A repeated child field configuration such as multiple addresses.
  • Properties: Key, Add Button Text, Hide, and Expressions.
  • Wrapper properties: Card Title and Card Subtitle.
  • Formly type: tab
  • Use it for: One tab within a Tabs container.
  • Properties: Key, Label, Disabled, Hide, and Expressions.
  • 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, and Expressions.
  • 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, and Expressions.
  • Formly type: stepper
  • Use it for: A multi-step form flow.
  • Properties: Key, Linear, Orientation, Accessible Label, Hide, and Expressions.
  • Formly type: formly-group
  • Use it for: A section that contains related fields.
  • Properties: Key, Hide, and Expressions.
  • Wrapper properties: Card Title and Card Subtitle.

See Add and configure fields for fields and presets, and Structure fields for containers.