---
title: "How-to guides · Valibot plugin · Kubb"
description: "How-to guides for @kubb/plugin-valibot, the Kubb Valibot plugin. Each guide walks through one task."
canonical_url: "https://kubb.dev/extensions/kubb-labs/plugin-valibot/guides"
meta:
  author: "Stijn Van Hulle"
  "og:description": "How-to guides for @kubb/plugin-valibot, the Kubb Valibot plugin. Each guide walks through one task."
  "og:image": "https://kubb.dev/_og/s/o_2e52db7f0e98ba10.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "How-to guides · Valibot plugin · Kubb"
  "twitter:image": "https://kubb.dev/_og/s/o_2e52db7f0e98ba10.png"
---

> Index of every page on this site: [llms.txt](https://kubb.dev/llms.txt)

![Valibot logo](https://kubb.dev/feature/valibot.svg)

**Valibot**

OfficialBetav0.1.0

@kubb/plugin-valibot

**$**kubb add plugin-valibotkubb add plugin-valibot

# **How-to guides**

4 guides

[**Coerce input with Valibot**Set coercion to convert form data and query strings before Valibot validates them, and see which checks each key changes.](https://kubb.dev/extensions/kubb-labs/plugin-valibot/guides/coercion) [**Customize generated schemas**Prefix inferred types, change Valibot calls, and encode custom request types.](https://kubb.dev/extensions/kubb-labs/plugin-valibot/guides/customization) [**Valibot schemas for OpenAPI formats**Look up the Valibot call Kubb writes for each OpenAPI type and format, such as v.uuid() for format: uuid, and the keywords that add a v.check.](https://kubb.dev/extensions/kubb-labs/plugin-valibot/guides/format-mappings) [**Infer TypeScript types from Valibot schemas**Set inferred to export a type next to each Valibot schema, so you can skip @kubb/plugin-ts.](https://kubb.dev/extensions/kubb-labs/plugin-valibot/guides/inferred-types)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://kubb.dev/#website","@type":"WebSite","description":"Kubb is an open source code generator that turns an API spec into TypeScript types, API clients, TanStack Query hooks, Zod schemas and mocks.","name":"Kubb","url":"https://kubb.dev/","publisher":{"@id":"https://kubb.dev/#identity"}},{"@id":"https://kubb.dev/extensions/kubb-labs/plugin-valibot/guides#webpage","@type":"WebPage","description":"How-to guides for @kubb/plugin-valibot, the Kubb Valibot plugin. Each guide walks through one task.","name":"How-to guides · Valibot plugin · Kubb","url":"https://kubb.dev/extensions/kubb-labs/plugin-valibot/guides","isPartOf":{"@id":"https://kubb.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://kubb.dev/extensions/kubb-labs/plugin-valibot/guides"]}],"primaryImageOfPage":{"@id":"https://kubb.dev/#logo"}},{"@id":"https://kubb.dev/#identity","@type":"Organization","description":"Kubb is an open source code generator. It turns an API spec, such as OpenAPI, into TypeScript types, API clients, TanStack Query hooks, Zod schemas and mocks.","email":"kubb@kubb.dev","name":"Kubb","url":"https://kubb.dev","founder":{"@id":"https://kubb.dev/#founder"},"logo":{"@id":"https://kubb.dev/#logo"},"sameAs":["https://github.com/kubb-labs/kubb","https://discord.gg/shfBFeczrm","https://www.linkedin.com/company/kubb-labs"]},{"@id":"https://kubb.dev/#logo","@type":"ImageObject","caption":"Kubb","contentUrl":"https://kubb.dev/logo.png","inLanguage":"en","url":"https://kubb.dev/logo.png"}]}
```

## Sitemap

See the full [sitemap](https://kubb.dev/sitemap.md) for all pages.
