64robots/nova-fields

A Laravel Nova field.

Maintainers

👁 64robots

Package info

github.com/64robots/nova-fields

Language:Vue

pkg:composer/64robots/nova-fields

Fund package maintenance!

beliolfa

Statistics

Installs: 1 050 399

Dependents: 5

Suggesters: 1

Stars: 283

Open Issues: 24

0.23.0 2024-05-31 12:57 UTC

Requires

  • php: ^7.1|^8.0

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 9dcc0db9c5c72ea35e41b54f2dff97a953cc2425

novalaravel

This package is auto-updated.

Last update: 2026-06-29 00:52:59 UTC


README

Documentation

Nova Fields is a collection of rewriten "native" fields that comes with Nova. We are also adding new fields and utilities as we find the need.

The idea here is making them more configurable and reusable in package development. These components have a lot of new methods to customize the look and feel, behavior, etc...

Vue components also emit events that propagates up to the chain so are ideal to reuse them in other Nova packages.

Looking forward to see your feedback.

Available fields:

  • ID
  • Text
  • Number
  • Textarea
  • Select
  • Password
  • Boolean
  • Trix
  • File
  • Image
  • BelongsTo
  • Currency
  • Status
  • Avatar
  • Gravatar
  • Code
  • Country
  • Date
  • DateTime
  • Markdown
  • Place
  • Timezone

Custom Fields

  • Autocomplete
  • JSON
  • Row

Install

Run this command in your nova project: composer require 64robots/nova-fields

Usage:

// use R64\NovaFields\<NAME OF THE FIELD>;
use R64\NovaFields\Boolean;

Boolean::make('Activo', 'active')
 ->yesLabel('Yeah')
 ->noLabel('Nope')
 ->hideLabelInDetail()
 ->dotClasses('some classes')
 ->successClass('bg-warning')