This package contains the official themes for FormKit. Read the installation documentation for more information.
Returns a function responsible for loading an icon by name.
iconLoader
— a function for loading an icon when it's not found in the iconRegistry.iconLoaderUrl
— a function that returns a remote URL for retrieving an SVG icon by name.Creates the theme plugin based on a given theme name.
theme
— The name or id of the theme to apply.icons
— Icons you want to add to the global icon registry.iconLoaderUrl
— A function that returns a remote url for retrieving an SVG icon by name.iconLoader
— A function that handles loading an icon when it is not found in the registry.A function to generate FormKit class functions from a JavaScript object.
classes
— An object of input types with nested objects of sectionKeys and class lists.An object of sectionKeys with class functions.
A function that returns an icon SVG string.
A function that returns a remote URL for retrieving an SVG icon by name.