xyd 0.1.0-beta - Coming Soon

Customization
/
Components

Components

Learn how to use built-in components

    content
    ComponentLike
    Required
    A type that can be used to represent a component-like structure.
      JSONComponent
      JSONComponent
      JSON representation of a component.
        component
        string
        Required
        The component type, e.g. "Button", "Card", etc.
        props
        Record<string, any>
        The component's children, which can be a string, an array of strings, or an array of JSONComponent objects.
      React.JSX.Element
      React.JSX.Element
      string
      string
    label
    string
    Banner label.
    kind
    "secondary"
    Banner kind.
    href
    string
    Banner href.
    icon
    string
    Banner icon.
    kind
    "minimal"
    logo
      ComponentLike
      ComponentLike
      A type that can be used to represent a component-like structure.
        JSONComponent
        JSONComponent
        JSON representation of a component.
          component
          string
          Required
          The component type, e.g. "Button", "Card", etc.
          props
          Record<string, any>
          The component's children, which can be a string, an array of strings, or an array of JSONComponent objects.
        React.JSX.Element
        React.JSX.Element
        string
        string
      boolean
      boolean
    social
    { [K in Social]?: string; }
    Footer socials
      x
      string
      facebook
      string
      youtube
      string
      discord
      string
      slack
      string
      github
      string
      linkedin
      string
      instagram
      string
      hackernews
      string
      medium
      string
      telegram
      string
      bluesky
      string
      reddit
      string
    links
    WebEditorFooterLinks
    Footer links
    footnote
    ComponentLike
    A type that can be used to represent a component-like structure.
      JSONComponent
      JSONComponent
      JSON representation of a component.
        component
        string
        Required
        The component type, e.g. "Button", "Card", etc.
        props
        Record<string, any>
        The component's children, which can be a string, an array of strings, or an array of JSONComponent objects.
      React.JSX.Element
      React.JSX.Element
      string
      string

Home

    hero
    PageHomeHero
    Hero section content for the home page.
      title
      string
      The main title text.
      description
      string
      The description text.
      image
      string
      The image URL for the hero section.
      button
      PageHomeHeroButton
      The main button for the hero section.
        title
        string
        Required
        The button label.
        href
        string
        Required
        The URL the button links to.
    sections
    array of PageHomeSection
    Section displayed on the home page.
      title
      string
      The section title.
      cards
      array of PageHomeCard
      Card displayed in a section on the home page. Extends GuideCardProps.
        children
        React.ReactNode
        Required
        Content to be displayed in the card body
        href
        string
        Required
        URL the card links to
        title
        string
        Title displayed at the top of the card
        icon
        React.ReactNode
        Optional icon displayed to the left of the content
        kind
        "secondary"
        Visual style variant of the card
        size
        "sm" | "md"
        Size variant of the card
        className
        string
        Additional CSS class names to apply to the card
        as
        React.ElementType<any, keyof IntrinsicElements>
        Additional props to pass to the link element

First Slide

    content
    PageFirstSlideContent
    The main content for the slide.
      title
      string
      The main title text.
      description
      string
      The description text.
      primaryButton
      PageFirstSlideButton
      The primary action button.
        title
        string
        Required
        href
        string
        Required
        The URL the button links to.
        kind
        "primary" | "secondary"
        The visual style of the button.
        disabled
        boolean
        Whether the button is disabled.
      secondaryButton
      PageFirstSlideButton
      The secondary action button.
        title
        string
        Required
        href
        string
        Required
        The URL the button links to.
        kind
        "primary" | "secondary"
        The visual style of the button.
        disabled
        boolean
        Whether the button is disabled.
    rightContent
    React.ReactNode
    Optional React node to display on the right side.
Built with

Show your support! Star us on GitHub ⭐️