Documentation
¶
Index ¶
- func Accordion(props AccordionProps) html.Node
- func Alert(props AlertProps) html.Node
- func Avatar(props AvatarProps) html.Node
- func Badge(props BadgeProps, children ...html.Node) html.Node
- func Button(props ButtonProps, children ...html.Node) html.Node
- func Card(props CardProps) html.Node
- func EmptyState(props EmptyStateProps) html.Node
- func ExploreTabs(props ExploreTabsProps) html.Node
- func FormField(props FormFieldProps) html.Node
- func GitHubAuthButton() html.Node
- func Input(props InputProps) html.Node
- func LabelFor(forId string, children ...html.Node) html.Node
- func OrganizationCard(props OrganizationCardProps) html.Node
- func ProfileTabs(props ProfileTabsProps) html.Node
- func RepositoryCard(props RepositoryCardProps) html.Node
- func RepositoryTabs(props RepositoryTabsProps) html.Node
- func SVGIcon(icon Icon, class string) html.Node
- func Select(props SelectProps) html.Node
- func UserCard(props UserCardProps) html.Node
- type AccordionItemProps
- type AccordionProps
- type AlertProps
- type AlertVariant
- type AvatarProps
- type BadgeProps
- type BadgeVariant
- type ButtonProps
- type ButtonSize
- type ButtonVariant
- type CardProps
- type EmptyStateProps
- type ExploreTabsProps
- type FormFieldProps
- type Icon
- type InputProps
- type OrganizationCardProps
- type ProfileTabsProps
- type RepositoryCardProps
- type RepositoryTabsProps
- type SelectOption
- type SelectProps
- type UserCardProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Accordion ¶
func Accordion(props AccordionProps) html.Node
func Alert ¶
func Alert(props AlertProps) html.Node
func Avatar ¶
func Avatar(props AvatarProps) html.Node
func Badge ¶
func Badge(props BadgeProps, children ...html.Node) html.Node
func Button ¶
func Button(props ButtonProps, children ...html.Node) html.Node
func EmptyState ¶
func EmptyState(props EmptyStateProps) html.Node
func ExploreTabs ¶
func ExploreTabs(props ExploreTabsProps) html.Node
func FormField ¶
func FormField(props FormFieldProps) html.Node
func GitHubAuthButton ¶
GitHubAuthButton renders a "Continue with GitHub" button
func Input ¶
func Input(props InputProps) html.Node
func OrganizationCard ¶
func OrganizationCard(props OrganizationCardProps) html.Node
func ProfileTabs ¶
func ProfileTabs(props ProfileTabsProps) html.Node
func RepositoryCard ¶
func RepositoryCard(props RepositoryCardProps) html.Node
func RepositoryTabs ¶
func RepositoryTabs(props RepositoryTabsProps) html.Node
func Select ¶
func Select(props SelectProps) html.Node
func UserCard ¶
func UserCard(props UserCardProps) html.Node
Types ¶
type AccordionItemProps ¶
type AccordionItemProps struct {
Title string
Content html.Node
}
type AccordionProps ¶
type AccordionProps struct {
Items []AccordionItemProps
Class string
}
type AlertProps ¶
type AlertProps struct {
Variant AlertVariant
Title string
Description string
Icon html.Node
Class string
}
type AlertVariant ¶
type AlertVariant string
const ( AlertDefault AlertVariant = "alert" AlertDestructive AlertVariant = "alert-destructive" )
type AvatarProps ¶
type BadgeProps ¶
type BadgeProps struct {
Variant BadgeVariant
Class string
Href string
}
type BadgeVariant ¶
type BadgeVariant string
const ( BadgePrimary BadgeVariant = "badge" BadgeSecondary BadgeVariant = "badge-secondary" BadgeOutline BadgeVariant = "badge-outline" BadgeDestructive BadgeVariant = "badge-destructive" )
type ButtonProps ¶
type ButtonProps struct {
Variant ButtonVariant
Size ButtonSize
Icon bool
Disabled bool
Type string
Class string
OnClick string
}
type ButtonSize ¶
type ButtonSize string
const ( ButtonDefault ButtonSize = "" ButtonSmall ButtonSize = "sm" ButtonLarge ButtonSize = "lg" )
type ButtonVariant ¶
type ButtonVariant string
const ( ButtonPrimary ButtonVariant = "btn-primary" ButtonSecondary ButtonVariant = "btn-secondary" ButtonOutline ButtonVariant = "btn-outline" ButtonGhost ButtonVariant = "btn-ghost" ButtonDestructive ButtonVariant = "btn-destructive" ButtonLink ButtonVariant = "btn-link" )
type EmptyStateProps ¶
type ExploreTabsProps ¶
type ExploreTabsProps struct {
CurrentTab string
}
type FormFieldProps ¶
type Icon ¶
type Icon string
const ( IconCheck Icon = "check" IconChevronDown Icon = "chevron-down" IconChevronRight Icon = "chevron-right" IconX Icon = "x" IconAlertCircle Icon = "alert-circle" IconInfo Icon = "info" IconSend Icon = "send" IconArrowRight Icon = "arrow-right" IconLoader Icon = "loader" IconDownload Icon = "download" IconUpload Icon = "upload" IconMoreVertical Icon = "more-vertical" IconTrash Icon = "trash" IconPlus Icon = "plus" IconRepository Icon = "repository" IconBuilding Icon = "building" IconUser Icon = "user" IconUsers Icon = "users" IconSettings Icon = "settings" IconLogOut Icon = "log-out" IconMail Icon = "mail" IconAtSign Icon = "at-sign" IconLock Icon = "lock" IconGitBranch Icon = "git-branch" IconLayoutGrid Icon = "layout-grid" IconCode Icon = "code" IconCopy Icon = "copy" IconGlobe Icon = "globe" IconTwitter Icon = "twitter" IconDiscord Icon = "discord" IconGitHub Icon = "github" IconBluesky Icon = "bluesky" IconStar Icon = "star" IconFolder Icon = "folder" IconFile Icon = "file" IconLink Icon = "link" IconCircle Icon = "circle" IconEye Icon = "eye" IconEdit Icon = "edit" IconShield Icon = "shield" )
type InputProps ¶
type OrganizationCardProps ¶
type ProfileTabsProps ¶
type RepositoryCardProps ¶
type RepositoryTabsProps ¶
type SelectProps ¶
type UserCardProps ¶
Click to show internal directories.
Click to hide internal directories.