Перейти к содержимому

Using Components

Это содержимое пока не доступно на вашем языке.

Dockit provides multiple component options for building rich, interactive documentation. You have access to both Astro Starlight’s built-in components and a collection of custom premade components.

Astro Starlight Components

You can use all the powerful components that come with Astro Starlight framework. These include cards, badges, code blocks, tabs, and many other useful documentation elements.

For complete documentation and usage examples of all available Starlight components, visit: https://starlight.astro.build/components/using-components/

Dockit Premade Components

In addition to Starlight components, Dockit includes a collection of custom-built components designed specifically for documentation needs. All these components are located in the user-components folder.

Available Custom Components

The following premade components are available for use in your documentation:

Each component has its own detailed documentation page with usage examples, props, and best practices.

Component Location

All custom components are organized in the following structure:

Getting Started

  • For Starlight components: Refer to the official Starlight documentation linked above

  • For custom components: Each component in the user-components folder can be imported and used directly in your MDX files

  • Component customization: All components can be modified to fit your specific design needs

Choose the components that best fit your documentation requirements and create engaging, interactive content for your users.