---
title: "init(isFolder:title:identifier:url:parentIdentifier:)"
framework: BrowserKit
role: symbol
role_heading: Initializer
platforms: [iOS 26.4+, iPadOS 26.4+]
path: "browserkit/bebrowserdatabookmark/init(isfolder:title:identifier:url:parentidentifier:)"
---

# init(isFolder:title:identifier:url:parentIdentifier:)

Creates a bookmark.

## Declaration

```swift
init(isFolder: Bool, title: String, identifier: String, url: URL?, parentIdentifier: String?)
```

## Parameters

- `isFolder`: A Boolean value that indicates whether a bookmark represents a folder.
- `title`: The title of the bookmark.
- `identifier`: A unique identifier for the bookmark.
- `url`: The URL that the bookmark points to, or nil if the bookmark is a folder.
- `parentIdentifier`: The identifier of the parent folder, or nil if the bookmark is a top-level bookmark.
