Laravel Cloud is here! Zero-config managed infrastructure for Laravel apps. Deploy now.

Nova Fields

64robots/nova-fields image

Nova Fields stats

Downloads
778.8K
Stars
280
Open Issues
30
Forks
70

View on GitHub →

A Laravel Nova field.

Getting Started

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:

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

Custom Fields

  • [x] Autocomplete
  • [x] JSON
  • [x] 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')
Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


64Robots Nova Fields Related Articles

Register Now for a Laravel Debugging Workshop by Sentry image

Register Now for a Laravel Debugging Workshop by Sentry

Read article
Handle SEO from your Laravel Models image

Handle SEO from your Laravel Models

Read article
5 Ways of Battling Form Spam image

5 Ways of Battling Form Spam

Read article
The Artisan Files: Adam Wathan image

The Artisan Files: Adam Wathan

Read article
The Artisan Files: Chris Pitt image

The Artisan Files: Chris Pitt

Read article
CodeKudu logo

CodeKudu

Stand-ups, Retrospectives, and 360° Feedback for the entire team. 50% off with code LARAVELNEWS.

CodeKudu
Celebian logo

Celebian

Celebian is a social media marketing agency specializing in helping their clients go viral on TikTok. Whether you're looking to reach a bigger audience or gain more Tiktok followers, likes, and views, they've got you covered.

Celebian
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Tighten logo

Tighten

We help companies turn great ideas into amazing apps, products, and services.

Tighten
Statamic logo

Statamic

The drop-in ready Laravel CMS you’re been waiting for. Go full-stack or headless, flat file or database – it’s up to you.

Statamic