> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# <Divider />

> A component for drawing a horizontal dividing line between UI elements.

<img className="dark:hidden" width="720" height="440" noZoom src="https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/divider.png?fit=max&auto=format&n=4Fh2EPa8-SlLTNAV&q=85&s=c688a79c953299b9bc4554e56017f004" data-path="images/divider.png" />

<img className="hidden dark:block" width="720" height="440" noZoom src="https://mintcdn.com/attio/4Fh2EPa8-SlLTNAV/images/divider-dark.png?fit=max&auto=format&n=4Fh2EPa8-SlLTNAV&q=85&s=fa1f25beaa16f50948f4d3f391ad0817" data-path="images/divider-dark.png" />

## Example

```tsx form-with-divider.tsx theme={"system"}
import React from "react"
import {Forms, useForm, showToast, Divider} from "attio/client"

export function FormWithDividerDialog() {
  const {Form, SubmitButton, TextInput} = useForm(
    {
      firstName: Forms.string(),
      lastName: Forms.string(),
    },
    {
      firstName: "",
      lastName: "",
    },
  )
  return (
    <Form
      onSubmit={async (values) => {
        await showToast({
          title: "Form submitted",
          variant: "success",
          text: JSON.stringify(values),
        })
      }}
    >
      <TextInput label="First name" name="firstName" />
      <Divider />
      <TextInput label="Last name" name="lastName" />
      <SubmitButton label="Submit" />
    </Form>
  )
}
```

It can be thought of as an `<hr />` in HTML.

## Props

None
