Skip to main content Skip to docs navigation

Form Outline

Outlined input field styling with border emphasis and integrated label positioning, providing strong visual definition and material design pattern support.

This documentation is a work in progress and may contain incomplete or outdated information. If you have any feedback or suggestions, please open an issue on GitHub.

Tokens

Standardized design system values that define consistent visual properties across outlined form components. These tokens ensure visual coherence while enabling flexible theme customization and brand adaptation.

Theming Tokens

Design tokens organized by category with color-coded labels indicating their scope and impact level. Each token includes detailed specifications with values, usage guidelines, and customization options.

Legend:
  • Granular tokens that affect only this component.
  • Granular tokens that affect other components.
  • Semantic tokens that affect the whole application.
  • Base tokens that affect the whole application.

Color

state:
idle
Component TokenBase Token
color.form-input.idle.border {color.context.default.border-main}
color.form-input.idle.fg-active {color.context.default.fg-main}
color.form-input.idle.fg-inactive {color.context.default.fg-subtle}
color.form-input.idle.caret {color.context.default.fg-main}
color.form-input.idle.help {color.context.default.fg-main}

Typography

Component TokenBase Token
font.form-input.floating-label {font.text.xsmall.normal}
font.form-input.floating-text {font.text.medium.normal}
font.assist.medium {font.text.medium.normal}

Sizing

Component TokenBase Token
size.form-input.medium-icon {size.unit.20}
size.form-input.medium-caret {size.unit.20}

Spacing

Component TokenBase Token
space.form-input.medium-padding-y {space.unit.8}
space.form-input.medium-padding-x {space.unit.12}
space.form-input.medium-gap {space.unit.12}

Border Width

Component TokenBase Token
borderWidth.form-input.floating {borderWidth.context.xlarge}
borderWidth.form-input.active {borderWidth.context.xlarge}
borderWidth.form-input.inactive {borderWidth.context.medium}

Border Radius

Component TokenBase Token
borderRadius.form-input.floating-blunt {borderRadius.context.medium}
borderRadius.form-input.floating-sharp {borderRadius.context.zero}

Asset

Component TokenBase Token
icon.form-input.select-caretSVG
icon.form-input.feedback-validSVG