<CreateOrganization />
The CreateOrganization component renders a form that allows users to create new sub-organizations in B2B applications.
Usage
Basic Usage
src/CreateOrgPage.vue
<script setup>
import { CreateOrganization } from '@thunderid/vue'
</script>
<template>
<div>
<h1>Create Organization</h1>
<CreateOrganization />
</div>
</template>
Custom Title and Description
src/CreateOrgPage.vue
<script setup>
import { CreateOrganization } from '@thunderid/vue'
</script>
<template>
<CreateOrganization
title="New Workspace"
description="Create a workspace for your team to collaborate."
/>
</template>
Props
| Prop | Type | Required | Description |
|---|---|---|---|
title | string | ❌ | Form title. Defaults to 'Create Organization'. |
description | string | ❌ | Form description text. Defaults to 'Create a new sub-organization.'. |
className | string | ❌ | Extra CSS class added to the root element |